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:
27a47c3
)
profiling fix
author
Aaron Schulz
<aaron@users.mediawiki.org>
Sun, 5 Apr 2009 01:10:52 +0000
(
01:10
+0000)
committer
Aaron Schulz
<aaron@users.mediawiki.org>
Sun, 5 Apr 2009 01:10:52 +0000
(
01:10
+0000)
includes/parser/Parser.php
patch
|
blob
|
history
diff --git
a/includes/parser/Parser.php
b/includes/parser/Parser.php
index
8908c44
..
02f29cf
100644
(file)
--- a/
includes/parser/Parser.php
+++ b/
includes/parser/Parser.php
@@
-2808,6
+2808,8
@@
class Parser
# Workaround for PHP bug 35229 and similar
if ( !is_callable( $callback ) ) {
+ wfProfileOut( __METHOD__ . '-pfunc' );
+ wfProfileOut( __METHOD__ );
throw new MWException( "Tag hook for $function is not callable\n" );
}
$result = call_user_func_array( $callback, $allArgs );