From 372a9afabe9dc038e180312ef90fe9c11c692ef8 Mon Sep 17 00:00:00 2001 From: Thomas Müller Date: Mon, 29 Jun 2015 15:54:05 +0200 Subject: Fixing ctor calls and ctor itself to not break usage in calendar and contacts ..... --- lib/private/connector/sabre/maintenanceplugin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/private/connector/sabre') 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(); -- cgit v1.2.3