From: Chad Horohoe Date: Thu, 3 Nov 2011 20:17:49 +0000 (+0000) Subject: Whoops, need a ! X-Git-Tag: 1.31.0-rc.0~26723 X-Git-Url: http://git.cyclocoop.org/data/%24oldEdit?a=commitdiff_plain;h=0d90d0b9ca0e7a194adfe65efec1e289c181a621;p=lhc%2Fweb%2Fwiklou.git Whoops, need a ! --- diff --git a/maintenance/update.php b/maintenance/update.php index 35e8104ec3..b0901bab2d 100644 --- a/maintenance/update.php +++ b/maintenance/update.php @@ -78,7 +78,7 @@ class UpdateMediaWiki extends Maintenance { function execute() { global $wgVersion, $wgTitle, $wgLang, $wgAllowSchemaUpdates; - if( $wgAllowSchemaUpdates && !$this->hasOption( 'force' ) ) { + if( !$wgAllowSchemaUpdates && !$this->hasOption( 'force' ) ) { $this->error( "Do not run update.php on this wiki. If you're seeing this you should\n" . "probably ask for some help in performing your schema updates.\n\n" . "If you know what you are doing, you can continue with --force", true );