r54226 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r54225‎ | r54226 | r54227 >
Date:19:40, 2 August 2009
Author:demon
Status:resolved
Tags:
Comment:
+newlines on error
Modified paths:
  • /trunk/phase3/maintenance/Maintenance.php (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/Maintenance.php
@@ -295,7 +295,7 @@
296296
297297 # Make sure we can handle script parameters
298298 if( !ini_get( 'register_argc_argv' ) ) {
299 - $this->error( "Cannot get command line arguments, register_argc_argv is set to false", true );
 299+ $this->error( "Cannot get command line arguments, register_argc_argv is set to false\n", true );
300300 }
301301
302302 if( version_compare( phpversion(), '5.2.4' ) >= 0 ) {
@@ -453,7 +453,7 @@
454454
455455 # Also make sure we've got enough arguments
456456 if ( count( $this->mArgs ) < count( $this->mArgList ) ) {
457 - $this->error( "Not enough arguments passed", true );
 457+ $this->error( "Not enough arguments passed\n", true );
458458 }
459459 }
460460

Status & tagging log