From: Platonides Date: Sat, 7 Jan 2012 23:23:29 +0000 (+0000) Subject: Profile all returns (r107319 follow-up) X-Git-Tag: 1.31.0-rc.0~25443 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22brouteur%22%2C%28%24id_rubrique%20?a=commitdiff_plain;h=99f352e556879ea582145be5ddf0f147d53421e3;p=lhc%2Fweb%2Fwiklou.git Profile all returns (r107319 follow-up) --- diff --git a/includes/WikiPage.php b/includes/WikiPage.php index 71a439bfc8..83f73e0a69 100644 --- a/includes/WikiPage.php +++ b/includes/WikiPage.php @@ -1117,6 +1117,7 @@ class WikiPage extends Page { $oldtext = $this->getRawText(); if ( $oldtext === false ) { wfDebug( __METHOD__ . ": no page text\n" ); + wfProfileOut( __METHOD__ ); return null; } } else {