From: Aaron Schulz Date: Mon, 28 Apr 2008 17:02:20 +0000 (+0000) Subject: Fix profiling X-Git-Tag: 1.31.0-rc.0~48030 X-Git-Url: http://git.cyclocoop.org/%22.%24h.%22?a=commitdiff_plain;h=f879db092ebfff71de5b3ca9cace53d1af6a720d;p=lhc%2Fweb%2Fwiklou.git Fix profiling --- diff --git a/includes/Article.php b/includes/Article.php index e56febfa4c..0eee430113 100644 --- a/includes/Article.php +++ b/includes/Article.php @@ -823,6 +823,7 @@ class Article { if( !$this->mRevision->userCan( Revision::DELETED_TEXT ) ) { $wgOut->addWikiMsg( 'rev-deleted-text-permission' ); $wgOut->setPageTitle( $this->mTitle->getPrefixedText() ); + wfProfileOut( __METHOD__ ); return; } else { $wgOut->addWikiMsg( 'rev-deleted-text-view' );