Merge "Remove extra unneeded whitespace"
[lhc/web/wiklou.git] / includes / api / ApiMain.php
index 10540a3..7414a97 100644 (file)
@@ -715,6 +715,9 @@ class ApiMain extends ApiBase {
                $module->profileOut();
 
                if ( !$this->mInternalMode ) {
+                       //append Debug information
+                       MWDebug::appendDebugInfoToApiResult( $this->getContext(), $this->getResult() );
+
                        // Print result data
                        $this->printResult( false );
                }