summaryrefslogtreecommitdiffstats
path: root/lib/private/setup.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2014-11-26 12:30:07 +0100
committerJoas Schilling <nickvergessen@gmx.de>2014-11-26 12:30:07 +0100
commit3338eede3ccb2ead223a46fd537b7504bb4786e0 (patch)
treeeb1645e8cceaae4fc578b301b52ae104944303d1 /lib/private/setup.php
parenta2457b5fb9f1ef9fda82afc4cf7dc712d14488c9 (diff)
downloadnextcloud-server-3338eede3ccb2ead223a46fd537b7504bb4786e0.tar.gz
nextcloud-server-3338eede3ccb2ead223a46fd537b7504bb4786e0.zip
Correctly namespace DatabaseSetupException
Diffstat (limited to 'lib/private/setup.php')
-rw-r--r--lib/private/setup.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/private/setup.php b/lib/private/setup.php
index 1125933c8e9..45c97bbd225 100644
--- a/lib/private/setup.php
+++ b/lib/private/setup.php
@@ -8,9 +8,6 @@
use OCP\IConfig;
-class DatabaseSetupException extends \OC\HintException {
-}
-
class OC_Setup {
/** @var IConfig */
protected $config;
@@ -195,7 +192,7 @@ class OC_Setup {
try {
$dbSetup->initialize($options);
$dbSetup->setupDatabase($username);
- } catch (DatabaseSetupException $e) {
+ } catch (\OC\DatabaseSetupException $e) {
$error[] = array(
'error' => $e->getMessage(),
'hint' => $e->getHint()