Cleanup r77883, contained unrelated debugging change
authorChad Horohoe <demon@users.mediawiki.org>
Mon, 6 Dec 2010 15:34:28 +0000 (15:34 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Mon, 6 Dec 2010 15:34:28 +0000 (15:34 +0000)
includes/DefaultSettings.php
includes/GlobalFunctions.php

index 7dd3b69..4a19266 100644 (file)
@@ -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
  */
index 385d7b0..b7a95a5 100644 (file)
@@ -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;