From: Jonny Tischbein Date: Thu, 4 Oct 2018 16:53:52 +0000 (+0200) Subject: Install: After detecting DB already in use, go back to db_stettings with error X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=07489a3a9c4fe191959969255eecf6c4fe57c764;p=friendica.git Install: After detecting DB already in use, go back to db_stettings with error --- diff --git a/mod/install.php b/mod/install.php index d2d322b3b9..8355f61300 100644 --- a/mod/install.php +++ b/mod/install.php @@ -125,13 +125,8 @@ function install_content(App $a) { if (DBA::$connected) { $r = q("SELECT COUNT(*) as `total` FROM `user`"); if (DBA::isResult($r) && $r[0]['total']) { - $tpl = get_markup_template('install.tpl'); - return replace_macros($tpl, [ - '$title' => $install_title, - '$pass' => '', - '$status' => L10n::t('Database already in use.'), - '$text' => '', - ]); + $install_wizard_pass = 2; + $wizard_status = L10n::t('Database already in use.'); } }