Revert Count API module instantiations and Hook runs
[lhc/web/wiklou.git] / includes / api / ApiMain.php
index 46dc7df..f2059d7 100644 (file)
@@ -1090,8 +1090,6 @@ class ApiMain extends ApiBase {
                $this->checkAsserts( $params );
 
                // Execute
-               $this->getContext()->getStats()->increment(
-                       'api.modules.' . strtr( $module->getModulePath(), '+', '.' ) );
                $module->execute();
                Hooks::run( 'APIAfterExecute', array( &$module ) );