diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2014-11-26 12:30:07 +0100 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2014-11-26 12:30:07 +0100 |
commit | 3338eede3ccb2ead223a46fd537b7504bb4786e0 (patch) | |
tree | eb1645e8cceaae4fc578b301b52ae104944303d1 /lib/private/setup.php | |
parent | a2457b5fb9f1ef9fda82afc4cf7dc712d14488c9 (diff) | |
download | nextcloud-server-3338eede3ccb2ead223a46fd537b7504bb4786e0.tar.gz nextcloud-server-3338eede3ccb2ead223a46fd537b7504bb4786e0.zip |
Correctly namespace DatabaseSetupException
Diffstat (limited to 'lib/private/setup.php')
-rw-r--r-- | lib/private/setup.php | 5 |
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() |