Index: trunk/phase3/maintenance/update.php |
— | — | @@ -78,7 +78,7 @@ |
79 | 79 | function execute() { |
80 | 80 | global $wgVersion, $wgTitle, $wgLang, $wgAllowSchemaUpdates; |
81 | 81 | |
82 | | - if( $wgAllowSchemaUpdates && !$this->hasOption( 'force' ) ) { |
| 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" |
84 | 84 | . "probably ask for some help in performing your schema updates.\n\n" |
85 | 85 | . "If you know what you are doing, you can continue with --force", true ); |