profile out
authorAaron Schulz <aaron@users.mediawiki.org>
Mon, 18 Aug 2008 05:50:03 +0000 (05:50 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Mon, 18 Aug 2008 05:50:03 +0000 (05:50 +0000)
includes/Wiki.php

index fa49290..b8d86b2 100644 (file)
@@ -60,6 +60,7 @@ class MediaWiki {
                        } elseif( is_string( $new_article ) ) {
                                $output->redirect( $new_article );
                        } else {
+                               wfProfileOut( __METHOD__ );
                                throw new MWException( "Shouldn't happen: MediaWiki::initializeArticle() returned neither an object nor a URL" );
                        }
                }