From: Sean Colombo Date: Tue, 11 Jan 2011 22:20:56 +0000 (+0000) Subject: A wfProfileOut was missing (which messed up profiling sometimes). Thanks to Owen... X-Git-Tag: 1.31.0-rc.0~32613 X-Git-Url: http://git.cyclocoop.org/url?a=commitdiff_plain;h=5645b7594ae8c00fe56610b1fcb93076cbe09165;p=lhc%2Fweb%2Fwiklou.git A wfProfileOut was missing (which messed up profiling sometimes). Thanks to Owen Davis for finding this. --- diff --git a/includes/Linker.php b/includes/Linker.php index d28e093400..30a4b00b5d 100644 --- a/includes/Linker.php +++ b/includes/Linker.php @@ -159,6 +159,7 @@ class Linker { public function link( $target, $text = null, $customAttribs = array(), $query = array(), $options = array() ) { wfProfileIn( __METHOD__ ); if ( !$target instanceof Title ) { + wfProfileOut( __METHOD__ ); return "$text"; } $options = (array)$options;