new-installer: Return newGood() from CreateDBAccount if we're not creating an account
authorÆvar Arnfjörð Bjarmason <avar@users.mediawiki.org>
Sun, 4 Jul 2010 16:40:28 +0000 (16:40 +0000)
committerÆvar Arnfjörð Bjarmason <avar@users.mediawiki.org>
Sun, 4 Jul 2010 16:40:28 +0000 (16:40 +0000)
This unbreaks the installation when we're not creating a user, broken
in my last commit.

includes/installer/MysqlInstaller.php

index a078d1e..c0829f4 100644 (file)
@@ -380,7 +380,7 @@ class MysqlInstaller extends InstallerDBType {
                global $IP;
 
                if ( !$this->getVar( '_CreateDBAccount' ) ) {
-                       return;
+                       return Status::newGood();
                }
 
                $status = $this->getConnection();