From a13767d10f1b96aab9ea150aa52a0fd1fa7840a0 Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Mon, 6 Dec 2010 15:34:28 +0000 Subject: [PATCH] Cleanup r77883, contained unrelated debugging change --- includes/DefaultSettings.php | 5 ----- includes/GlobalFunctions.php | 5 ----- 2 files changed, 10 deletions(-) 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; -- 2.20.1