re r67320: output a newline if we switch from channeled to unchanneled output
authorMark A. Hershberger <mah@users.mediawiki.org>
Wed, 14 Jul 2010 22:44:19 +0000 (22:44 +0000)
committerMark A. Hershberger <mah@users.mediawiki.org>
Wed, 14 Jul 2010 22:44:19 +0000 (22:44 +0000)
maintenance/Maintenance.php

index 9a987bf..6433296 100644 (file)
@@ -226,6 +226,7 @@ abstract class Maintenance {
                }
                if ( $channel === null ) {
                        $f = fopen( 'php://stdout', 'w' );
+                       if ( $this->lastChannel !== null ) fwrite( $f, "\n" );
                        fwrite( $f, $out );
                        fclose( $f );
                }