summaryrefslogtreecommitdiffstats
path: root/lib/setup.php
diff options
context:
space:
mode:
authorFrank Karlitschek <frank@owncloud.org>2012-06-01 16:30:47 +0200
committerFrank Karlitschek <frank@owncloud.org>2012-06-01 16:30:47 +0200
commitdcb06393a86eee01e64df4c9092efcf3b0af2d8d (patch)
tree8ed9bbf1c378a3fb2e024098bb80d977130633c8 /lib/setup.php
parentad6562d14fabb0822e197e2ed70e4a3f8c02e23f (diff)
downloadnextcloud-server-dcb06393a86eee01e64df4c9092efcf3b0af2d8d.tar.gz
nextcloud-server-dcb06393a86eee01e64df4c9092efcf3b0af2d8d.zip
fix propper error reporting
Diffstat (limited to 'lib/setup.php')
-rw-r--r--lib/setup.php1
1 files changed, 1 insertions, 0 deletions
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);