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:
9555ff9
)
Add wfProfileIn/wfProfileOut calls to InfoAction::pageCountInfo()
author
Reedy
<reedy@wikimedia.org>
Tue, 17 Jul 2012 21:01:31 +0000
(22:01 +0100)
committer
Reedy
<reedy@wikimedia.org>
Tue, 17 Jul 2012 21:50:39 +0000
(22:50 +0100)
Change-Id: Ice4eff38253b189a60885be36dadd2a3cf5d6297
includes/actions/InfoAction.php
patch
|
blob
|
history
diff --git
a/includes/actions/InfoAction.php
b/includes/actions/InfoAction.php
index
b74996c
..
89e2cfe
100644
(file)
--- a/
includes/actions/InfoAction.php
+++ b/
includes/actions/InfoAction.php
@@
-107,6
+107,7
@@
class InfoAction extends FormlessAction {
* @return mixed array or boolean false
*/
public static function pageCountInfo( $title ) {
+ wfProfileIn( __METHOD__ );
$id = $title->getArticleID();
$dbr = wfGetDB( DB_SLAVE );
@@
-147,6
+148,7
@@
class InfoAction extends FormlessAction {
$result['views'] = $views;
}
+ wfProfileOut( __METHOD__ );
return $result;
}
}