Index: branches/REL1_18/phase3/maintenance/update.php |
— | — | @@ -43,7 +43,7 @@ |
44 | 44 | $this->addOption( 'quick', 'Skip 5 second countdown before starting' ); |
45 | 45 | $this->addOption( 'doshared', 'Also update shared tables' ); |
46 | 46 | $this->addOption( 'nopurge', 'Do not purge the objectcache table after updates' ); |
47 | | - $this->addOption( 'force', 'Override when $wgMiserMode disables this script' ); |
| 47 | + $this->addOption( 'force', 'Override when $wgAllowSchemaUpdates disables this script' ); |
48 | 48 | } |
49 | 49 | |
50 | 50 | function getDbType() { |
— | — | @@ -76,7 +76,7 @@ |
77 | 77 | } |
78 | 78 | |
79 | 79 | function execute() { |
80 | | - global $wgVersion, $wgTitle, $wgLang, $wgMiserMode; |
| 80 | + global $wgVersion, $wgTitle, $wgLang, $wgAllowSchemaUpdates; |
81 | 81 | |
82 | 82 | if( !$wgAllowSchemaUpdates && !$this->hasOption( 'force' ) ) { |
83 | 83 | $this->error( "Do not run update.php on this wiki. If you're seeing this you should\n" |