From 0d90d0b9ca0e7a194adfe65efec1e289c181a621 Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Thu, 3 Nov 2011 20:17:49 +0000 Subject: [PATCH] Whoops, need a ! --- maintenance/update.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); -- 2.20.1