dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Remove unused private field in OutputPage"
[lhc/web/wiklou.git]
/
includes
/
api
/
ApiMain.php
diff --git
a/includes/api/ApiMain.php
b/includes/api/ApiMain.php
index
8ce505a
..
f2059d7
100644
(file)
--- a/
includes/api/ApiMain.php
+++ b/
includes/api/ApiMain.php
@@
-1089,14
+1089,8
@@
class ApiMain extends ApiBase {
$this->checkAsserts( $params );
$this->checkAsserts( $params );
- $stats = $this->getContext()->getStats();
- $statsPath = 'api.modules.' . strtr( $module->getModulePath(), '+', '.' );
- $metric = $stats->increment( $statsPath );
- $metric->setSampleRate( 0.001 );
-
// Execute
$module->execute();
// Execute
$module->execute();
-
Hooks::run( 'APIAfterExecute', array( &$module ) );
$this->reportUnusedParams();
Hooks::run( 'APIAfterExecute', array( &$module ) );
$this->reportUnusedParams();