aboutsummaryrefslogtreecommitdiffstats
path: root/lib/setup.php
diff options
context:
space:
mode:
authorThomas Mueller <thomas.mueller@tmit.eu>2013-06-14 15:38:09 +0200
committerThomas Mueller <thomas.mueller@tmit.eu>2013-06-14 15:38:09 +0200
commit1ef66941a795fbd29a7532480dbe2d2e361cb5c7 (patch)
treec91695a169010e02b028e65c220a1697dc85cea7 /lib/setup.php
parent5c7d7549ea8803596307882f2ee9214808c82451 (diff)
downloadnextcloud-server-1ef66941a795fbd29a7532480dbe2d2e361cb5c7.tar.gz
nextcloud-server-1ef66941a795fbd29a7532480dbe2d2e361cb5c7.zip
adding default to $hint within ctor of DatabaseSetupException
Diffstat (limited to 'lib/setup.php')
-rw-r--r--lib/setup.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/setup.php b/lib/setup.php
index 5a513bccae6..738a99fb7cc 100644
--- a/lib/setup.php
+++ b/lib/setup.php
@@ -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);
}