From: Ævar Arnfjörð Bjarmason Date: Sun, 4 Jul 2010 16:40:28 +0000 (+0000) Subject: new-installer: Return newGood() from CreateDBAccount if we're not creating an account X-Git-Tag: 1.31.0-rc.0~36267 X-Git-Url: https://git.cyclocoop.org/%28%28?a=commitdiff_plain;h=4fecc78911e0bf7573639c62ef5b4d818cc14864;p=lhc%2Fweb%2Fwiklou.git new-installer: Return newGood() from CreateDBAccount if we're not creating an account This unbreaks the installation when we're not creating a user, broken in my last commit. --- diff --git a/includes/installer/MysqlInstaller.php b/includes/installer/MysqlInstaller.php index a078d1eb96..c0829f42d2 100644 --- a/includes/installer/MysqlInstaller.php +++ b/includes/installer/MysqlInstaller.php @@ -380,7 +380,7 @@ class MysqlInstaller extends InstallerDBType { global $IP; if ( !$this->getVar( '_CreateDBAccount' ) ) { - return; + return Status::newGood(); } $status = $this->getConnection();