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:
c8eb446
)
Add missing wfProfileOut( __METHOD__ );
author
Sam Reed
<reedy@users.mediawiki.org>
Thu, 16 Feb 2012 02:01:00 +0000
(
02:01
+0000)
committer
Sam Reed
<reedy@users.mediawiki.org>
Thu, 16 Feb 2012 02:01:00 +0000
(
02:01
+0000)
includes/parser/CoreParserFunctions.php
patch
|
blob
|
history
diff --git
a/includes/parser/CoreParserFunctions.php
b/includes/parser/CoreParserFunctions.php
index
13aa66f
..
9c39e8a
100644
(file)
--- a/
includes/parser/CoreParserFunctions.php
+++ b/
includes/parser/CoreParserFunctions.php
@@
-282,8
+282,10
@@
class CoreParserFunctions {
// Some shortcuts to avoid loading user data unnecessarily
if ( count( $forms ) === 0 ) {
+ wfProfileOut( __METHOD__ );
return '';
} elseif ( count( $forms ) === 1 ) {
+ wfProfileOut( __METHOD__ );
return $forms[0];
}