Skip install entirely if we did an upgrade
authorChad Horohoe <demon@users.mediawiki.org>
Wed, 1 Sep 2010 17:46:07 +0000 (17:46 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Wed, 1 Sep 2010 17:46:07 +0000 (17:46 +0000)
includes/installer/WebInstallerPage.php

index dbbfcb8..9d93f95 100644 (file)
@@ -831,6 +831,8 @@ class WebInstaller_Install extends WebInstallerPage {
                        $status = new Status();
                        $status->warning( 'config-install-alreadydone' );
                        $this->parent->showStatusBox( $status );
+               } elseif( $this->getVar( '_UpgradeDone' ) ) {
+                       return 'skip';
                } else {
                        $this->startForm();
                        $this->addHTML("<ul>");