dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa6546f
)
Use correct module name for stats in executeActionWithErrorHandling()
author
Aaron Schulz
<aschulz@wikimedia.org>
Wed, 25 May 2016 19:31:19 +0000
(12:31 -0700)
committer
Aaron Schulz
<aschulz@wikimedia.org>
Wed, 25 May 2016 19:31:19 +0000
(12:31 -0700)
Change-Id: I7d300525c32877d6fcc940962c93b932dc4c9181
includes/api/ApiMain.php
patch
|
blob
|
history
diff --git
a/includes/api/ApiMain.php
b/includes/api/ApiMain.php
index
60f2832
..
7f9b98b
100644
(file)
--- a/
includes/api/ApiMain.php
+++ b/
includes/api/ApiMain.php
@@
-471,7
+471,8
@@
class ApiMain extends ApiBase {
$this->logRequest( $runTime );
if ( $this->mModule->isWriteMode() && $this->getRequest()->wasPosted() ) {
$this->getStats()->timing(
- 'api.' . $this->getModuleName() . '.executeTiming', 1000 * $runTime );
+ 'api.' . $this->mModule->getModuleName() . '.executeTiming', 1000 * $runTime
+ );
}
} catch ( Exception $e ) {
$this->handleException( $e );