MWException doesn't care about $wgTitle anymore
authorChad Horohoe <chadh@wikimedia.org>
Thu, 2 Jan 2014 19:58:28 +0000 (11:58 -0800)
committerChad Horohoe <chadh@wikimedia.org>
Thu, 2 Jan 2014 20:00:45 +0000 (12:00 -0800)
Change-Id: I59a54280496cc5bbc953948f16a6cb20790d3c56

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'] );
        }
 
        /**