From 059b64c6496c2c7db8056993bab3214de6c3b15b Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Sun, 29 Jul 2012 21:29:44 +0200 Subject: [PATCH] Don't unset() $wgOut in AjaxDispatcher. It's now totally useless since we are storing it in the RequestContext object, so this won't prevent the MediaWiki class to use it. Change-Id: I10a15a16769f8f208c13bfb9ad38738562c11eac --- includes/AjaxDispatcher.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/includes/AjaxDispatcher.php b/includes/AjaxDispatcher.php index b457ea6eb0..b00cf30941 100644 --- a/includes/AjaxDispatcher.php +++ b/includes/AjaxDispatcher.php @@ -97,7 +97,7 @@ class AjaxDispatcher { * request. */ function performAction() { - global $wgAjaxExportList, $wgOut, $wgUser; + global $wgAjaxExportList, $wgUser; if ( empty( $this->mode ) ) { return; @@ -157,7 +157,6 @@ class AjaxDispatcher { } } - $wgOut = null; wfProfileOut( __METHOD__ ); } } -- 2.20.1