From becbbe7b52607b84a664a0b1680cf18db665b62b Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Sun, 2 Aug 2009 19:40:30 +0000 Subject: [PATCH] +newlines on error --- maintenance/Maintenance.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/maintenance/Maintenance.php b/maintenance/Maintenance.php index a18376b562..edfbe79394 100644 --- a/maintenance/Maintenance.php +++ b/maintenance/Maintenance.php @@ -295,7 +295,7 @@ abstract class Maintenance { # Make sure we can handle script parameters if( !ini_get( 'register_argc_argv' ) ) { - $this->error( "Cannot get command line arguments, register_argc_argv is set to false", true ); + $this->error( "Cannot get command line arguments, register_argc_argv is set to false\n", true ); } if( version_compare( phpversion(), '5.2.4' ) >= 0 ) { @@ -453,7 +453,7 @@ abstract class Maintenance { # Also make sure we've got enough arguments if ( count( $this->mArgs ) < count( $this->mArgList ) ) { - $this->error( "Not enough arguments passed", true ); + $this->error( "Not enough arguments passed\n", true ); } } -- 2.20.1