Appending a newline at the end of the message results in a much nicer console display
authorSam Reed <reedy@users.mediawiki.org>
Mon, 5 Mar 2012 21:14:10 +0000 (21:14 +0000)
committerSam Reed <reedy@users.mediawiki.org>
Mon, 5 Mar 2012 21:14:10 +0000 (21:14 +0000)
maintenance/cleanupUploadStash.php

index 931a4ff..5f57ffd 100644 (file)
@@ -51,7 +51,7 @@ class UploadStashCleanup extends Maintenance {
                );
 
                if( !is_object( $res ) || $res->numRows() == 0 ) {
-                       $this->output( 'No files to cleanup!' );
+                       $this->output( "No files to cleanup!\n" );
                        // nothing to do.
                        return;
                }