API: Adding APIAfterExecute, APIQueryAfterExecute and APIQueryGeneratorAfterExecute...
[lhc/web/wiklou.git] / includes / api / ApiMain.php
index 4c41209..b3d8a94 100644 (file)
@@ -415,6 +415,7 @@ class ApiMain extends ApiBase {
                // Execute
                $module->profileIn();
                $module->execute();
+               wfRunHooks('APIAfterExecute', array(&$module));
                $module->profileOut();
 
                if (!$this->mInternalMode) {