From: Chad Horohoe Date: Mon, 6 Dec 2010 15:34:28 +0000 (+0000) Subject: Cleanup r77883, contained unrelated debugging change X-Git-Tag: 1.31.0-rc.0~33521 X-Git-Url: https://git.cyclocoop.org/admin/?a=commitdiff_plain;h=a13767d10f1b96aab9ea150aa52a0fd1fa7840a0;p=lhc%2Fweb%2Fwiklou.git Cleanup r77883, contained unrelated debugging change --- diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index 7dd3b6911d..4a19266f48 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -3733,11 +3733,6 @@ $wgDebugRawPage = false; */ $wgDebugComments = false; -/** - * Print debug output to the terminal when running command line scripts. - */ -$wgDebugToCommandLine = false; - /** * Write SQL queries to the debug log */ diff --git a/includes/GlobalFunctions.php b/includes/GlobalFunctions.php index 385d7b0c84..b7a95a5ce2 100644 --- a/includes/GlobalFunctions.php +++ b/includes/GlobalFunctions.php @@ -311,11 +311,6 @@ function wfDebug( $text, $logonly = false ) { static $cache = array(); // Cache of unoutputted messages $text = wfDebugTimer() . $text; - if( $wgDebugToCommandLine && $wgCommandLineMode ) { - print $text; - return; - } - # Check for raw action using $_GET not $wgRequest, since the latter might not be initialised yet if ( isset( $_GET['action'] ) && $_GET['action'] == 'raw' && !$wgDebugRawPage ) { return;