From: Frank Karlitschek Date: Fri, 1 Jun 2012 14:30:47 +0000 (+0200) Subject: fix propper error reporting X-Git-Tag: v4.5.0beta1~74^2~425^2~12 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=dcb06393a86eee01e64df4c9092efcf3b0af2d8d;p=nextcloud-server.git fix propper error reporting --- diff --git a/lib/setup.php b/lib/setup.php index 8c2d5231210..a096fdbb4cf 100644 --- a/lib/setup.php +++ b/lib/setup.php @@ -94,6 +94,7 @@ class OC_Setup { 'error' => 'MySQL username and/or password not valid', 'hint' => 'You need to enter either an existing account or the administrator.' ); + return($error); } else { $oldUser=OC_Config::getValue('dbuser', false);