From: Rotem Liss Date: Wed, 23 Aug 2006 11:41:30 +0000 (+0000) Subject: Fix for profiling. X-Git-Tag: 1.31.0-rc.0~55921 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dcompta/comptes/journal.php?a=commitdiff_plain;h=4a1ef1878a69537e22283b562d11048afed05585;p=lhc%2Fweb%2Fwiklou.git Fix for profiling. --- diff --git a/includes/Title.php b/includes/Title.php index 8fbc28a4fc..6f740dcac4 100644 --- a/includes/Title.php +++ b/includes/Title.php @@ -1075,6 +1075,7 @@ class Title { if( $action == 'create' ) { if( ( $this->isTalkPage() && !$wgUser->isAllowed( 'createtalk' ) ) || ( !$this->isTalkPage() && !$wgUser->isAllowed( 'createpage' ) ) ) { + wfProfileOut( $fname ); return false; } }