From 99f352e556879ea582145be5ddf0f147d53421e3 Mon Sep 17 00:00:00 2001 From: Platonides Date: Sat, 7 Jan 2012 23:23:29 +0000 Subject: [PATCH] Profile all returns (r107319 follow-up) --- includes/WikiPage.php | 1 + 1 file changed, 1 insertion(+) 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 { -- 2.20.1