diff options
Diffstat (limited to 'lib/setup.php')
-rw-r--r-- | lib/setup.php | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/lib/setup.php b/lib/setup.php index f1ac6b8b2b8..376b71fc03b 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 { |