]> source.dussan.org Git - nextcloud-server.git/commitdiff
adding default to $hint within ctor of DatabaseSetupException
authorThomas Mueller <thomas.mueller@tmit.eu>
Fri, 14 Jun 2013 13:38:09 +0000 (15:38 +0200)
committerThomas Mueller <thomas.mueller@tmit.eu>
Fri, 14 Jun 2013 13:38:09 +0000 (15:38 +0200)
lib/setup.php

index 5a513bccae6514a69092332bfe0ad34fcf9c7864..738a99fb7cce482d4e86b766be6de9862fa7b32d 100644 (file)
@@ -4,7 +4,7 @@ class DatabaseSetupException extends Exception
 {
        private $hint;
 
-       public function __construct($message, $hint, $code = 0, Exception $previous = null) {
+       public function __construct($message, $hint = '', $code = 0, Exception $previous = null) {
                $this->hint = $hint;
                parent::__construct($message, $code, $previous);
        }