summaryrefslogtreecommitdiffstats
path: root/lib/private/connector/sabre
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/connector/sabre')
-rw-r--r--lib/private/connector/sabre/maintenanceplugin.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/connector/sabre/maintenanceplugin.php b/lib/private/connector/sabre/maintenanceplugin.php
index c5a9ca6d54a..634e5a68128 100644
--- a/lib/private/connector/sabre/maintenanceplugin.php
+++ b/lib/private/connector/sabre/maintenanceplugin.php
@@ -45,7 +45,7 @@ class MaintenancePlugin extends ServerPlugin {
/**
* @param IConfig $config
*/
- public function __construct(IConfig $config) {
+ public function __construct(IConfig $config = null) {
$this->config = $config;
if (is_null($config)) {
$this->config = \OC::$server->getConfig();