r46055 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r46054‎ | r46055 | r46056 >
Date:01:03, 23 January 2009
Author:tparscal
Status:ok (Comments)
Tags:todo 
Comment:
Changed help language a bit.
Modified paths:
  • /trunk/extensions/DataCenter/CLI/Initialize.php (modified) (history)

Diff [purge]

Index: trunk/extensions/DataCenter/CLI/Initialize.php
@@ -13,8 +13,8 @@
1414 // Get a connection
1515 $dbw = wfGetDB( DB_MASTER );
1616 // Runs initialization
17 - $dbw->sourceFile( dirname( dirname( __FILE__ ) ) . '/DataCenter.sql' );
 17+ $dbw->sourceFile( dirname( dirname( __FILE__ ) ) . '/DataCenter.sql' );
1818 } else {
19 - echo "Nothing was changed. The --confirm=yes parameter is required.\n";
 19+ echo "Nothing was changed. Run with --help for usage information.\n";
2020 }
21 -}
 21+}
\ No newline at end of file

Comments

#Comment by Brion VIBBER (talk | contribs)   01:49, 23 January 2009

Consider just printing the usage information straight out. :)

Status & tagging log