r54235 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r54234‎ | r54235 | r54236 >
Date:21:22, 2 August 2009
Author:demon
Status:resolved
Tags:
Comment:
Missing newline. Maybe should make error() just do it itself :p
Modified paths:
  • /trunk/phase3/maintenance/deleteOldRevisions.php (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/deleteOldRevisions.php
@@ -34,7 +34,7 @@
3535 public function execute() {
3636 $this->output( "Delete old revisions\n\n" );
3737 if( count( $this->mArgs ) < 1 ) {
38 - $this->error( "Must pass at least 1 page_id", true );
 38+ $this->error( "Must pass at least 1 page_id\n", true );
3939 }
4040 $this->doDelete( $this->hasOption( 'delete' ), $this->mArgs );
4141 }

Status & tagging log