Profile all returns (r107319 follow-up)
authorPlatonides <platonides@users.mediawiki.org>
Sat, 7 Jan 2012 23:23:29 +0000 (23:23 +0000)
committerPlatonides <platonides@users.mediawiki.org>
Sat, 7 Jan 2012 23:23:29 +0000 (23:23 +0000)
includes/WikiPage.php

index 71a439b..83f73e0 100644 (file)
@@ -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 {