r72835 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r72834‎ | r72835 | r72836 >
Date:21:56, 11 September 2010
Author:ialex
Status:ok
Tags:
Comment:
Follow-up r72829: we also have the hasOption() method for that
Modified paths:
  • /trunk/phase3/maintenance/update.php (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/update.php
@@ -34,7 +34,7 @@
3535
3636 $this->output( "MediaWiki {$wgVersion} Updater\n\n" );
3737
38 - if ( !isset( $this->mOptions['skip-compat-checks'] ) ) {
 38+ if ( !$this->hasOption( 'skip-compat-checks' ) ) {
3939 install_version_checks();
4040 } else {
4141 $this->output( "Skipping compatibility checks, proceed at your own risk (Ctrl+C to abort)\n" );

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r72829Use $this->mOptions, and specify Maintenance class for location of DB_ADMIN c...reedy20:43, 11 September 2010

Status & tagging log