summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorFrank Karlitschek <frank@owncloud.org>2012-06-01 16:33:24 +0200
committerFrank Karlitschek <frank@owncloud.org>2012-06-01 16:33:24 +0200
commitaa9824d35b6e50a1deb4523b252733dad556a193 (patch)
tree7c2e0c929a75ec31dcb8d4d348c2af55cba919b3 /lib
parentaa88ec81c792830d91771512d719dfc5f1a2893e (diff)
downloadnextcloud-server-aa9824d35b6e50a1deb4523b252733dad556a193.tar.gz
nextcloud-server-aa9824d35b6e50a1deb4523b252733dad556a193.zip
fix proper error reporting
Diffstat (limited to 'lib')
-rw-r--r--lib/setup.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/setup.php b/lib/setup.php
index 8137eb720e5..4c8c5670480 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);