r70281 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r70280‎ | r70281 | r70282 >
Date:18:05, 1 August 2010
Author:platonides
Status:ok
Tags:
Comment:
Replace echo + die with die()
Modified paths:
  • /trunk/phase3/maintenance/Maintenance.php (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/Maintenance.php
@@ -11,11 +11,10 @@
1212
1313 // Make sure we're on PHP5 or better
1414 if ( version_compare( PHP_VERSION, '5.0.0' ) < 0 ) {
15 - echo( "Sorry! This version of MediaWiki requires PHP 5; you are running " .
 15+ die ( "Sorry! This version of MediaWiki requires PHP 5; you are running " .
1616 PHP_VERSION . ".\n\n" .
1717 "If you are sure you already have PHP 5 installed, it may be installed\n" .
1818 "in a different path from PHP 4. Check with your system administrator.\n" );
19 - die();
2019 }
2120
2221 /**

Status & tagging log