Merge "MWException doesn't care about $wgTitle anymore"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Mon, 6 Jan 2014 23:47:15 +0000 (23:47 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Mon, 6 Jan 2014 23:47:15 +0000 (23:47 +0000)
includes/Exception.php

index 4548345..5377add 100644 (file)
@@ -38,8 +38,7 @@ class MWException extends Exception {
        function useOutputPage() {
                return $this->useMessageCache() &&
                        !empty( $GLOBALS['wgFullyInitialised'] ) &&
-                       !empty( $GLOBALS['wgOut'] ) &&
-                       !empty( $GLOBALS['wgTitle'] );
+                       !empty( $GLOBALS['wgOut'] );
        }
 
        /**