summaryrefslogtreecommitdiffstats
path: root/lib/setup.php
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2013-03-03 12:06:00 +0100
committerBart Visscher <bartv@thisnet.nl>2013-05-07 19:59:46 +0200
commit07df94def66a78bda40560a5bdd31058f61e2238 (patch)
treede291a1325519049f4276ab665ce695189bc23c0 /lib/setup.php
parent2208313e02f0c1d5ae728115f81e040eaedaa0dc (diff)
downloadnextcloud-server-07df94def66a78bda40560a5bdd31058f61e2238.tar.gz
nextcloud-server-07df94def66a78bda40560a5bdd31058f61e2238.zip
Convert OC_Config to object interface
Diffstat (limited to 'lib/setup.php')
-rw-r--r--lib/setup.php16
1 files changed, 1 insertions, 15 deletions
diff --git a/lib/setup.php b/lib/setup.php
index d1197b3ebf3..e05db554320 100644
--- a/lib/setup.php
+++ b/lib/setup.php
@@ -1,21 +1,7 @@
<?php
-class DatabaseSetupException extends Exception
+class DatabaseSetupException extends \OC\HintException
{
- private $hint;
-
- public function __construct($message, $hint, $code = 0, Exception $previous = null) {
- $this->hint = $hint;
- parent::__construct($message, $code, $previous);
- }
-
- public function __toString() {
- return __CLASS__ . ": [{$this->code}]: {$this->message} ({$this->hint})\n";
- }
-
- public function getHint() {
- return $this->hint;
- }
}
class OC_Setup {