Merge "Remove unused private field in OutputPage"
[lhc/web/wiklou.git] / includes / api / ApiMain.php
index 8ce505a..f2059d7 100644 (file)
@@ -1089,14 +1089,8 @@ class ApiMain extends ApiBase {
 
                $this->checkAsserts( $params );
 
-               $stats = $this->getContext()->getStats();
-               $statsPath = 'api.modules.' . strtr( $module->getModulePath(), '+', '.' );
-               $metric = $stats->increment( $statsPath );
-               $metric->setSampleRate( 0.001 );
-
                // Execute
                $module->execute();
-
                Hooks::run( 'APIAfterExecute', array( &$module ) );
 
                $this->reportUnusedParams();