Index: trunk/phase3/maintenance/upgrade1_5.php |
— | — | @@ -18,6 +18,15 @@ |
19 | 19 | require_once( dirname(__FILE__) . '/commandLine.inc' ); |
20 | 20 | require_once( 'FiveUpgrade.inc' ); |
21 | 21 | |
| 22 | +echo "ATTENTION: This script is for upgrades from 1.4 to 1.5 (NOT 1.15) in very special cases.\n"; |
| 23 | +echo "Use update.php for usual updates.\n"; |
| 24 | + |
| 25 | +// Seems to confuse some people |
| 26 | +if ( !array_search( '--upgrade', $_SERVER['argv'] ) ) { |
| 27 | + echo "Please run this script with --upgrade key to actually run the updater.\n"; |
| 28 | + die; |
| 29 | +} |
| 30 | + |
22 | 31 | $upgrade = new FiveUpgrade(); |
23 | 32 | $step = isset( $options['step'] ) ? $options['step'] : null; |
24 | 33 | $upgrade->upgrade( $step ); |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -277,6 +277,7 @@ |
278 | 278 | * Added search capabilities to SQLite backend |
279 | 279 | * rebuildtextindex.php maintenance script now supports databases other than |
280 | 280 | MySQL |
| 281 | +* upgrade1_5.php now requires to be run --update option to prevent confusion |
281 | 282 | |
282 | 283 | === Bug fixes in 1.16 === |
283 | 284 | |