r101869 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r101868‎ | r101869 | r101870 >
Date:20:17, 3 November 2011
Author:demon
Status:ok
Tags:
Comment:
Whoops, need a !
Modified paths:
  • /trunk/phase3/maintenance/update.php (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/update.php
@@ -78,7 +78,7 @@
7979 function execute() {
8080 global $wgVersion, $wgTitle, $wgLang, $wgAllowSchemaUpdates;
8181
82 - if( $wgAllowSchemaUpdates && !$this->hasOption( 'force' ) ) {
 82+ if( !$wgAllowSchemaUpdates && !$this->hasOption( 'force' ) ) {
8383 $this->error( "Do not run update.php on this wiki. If you're seeing this you should\n"
8484 . "probably ask for some help in performing your schema updates.\n\n"
8585 . "If you know what you are doing, you can continue with --force", true );

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r101867*grumble grumble* know it alls think I'm abusing $wgMiserMode. So fine, have ...demon20:15, 3 November 2011

Status & tagging log