summaryrefslogtreecommitdiffstats
path: root/lib/private/connector/sabre
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-06-29 15:54:05 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2015-06-29 15:54:05 +0200
commit372a9afabe9dc038e180312ef90fe9c11c692ef8 (patch)
tree32073f4c1f441fc3decdff834e5a2f715a27ef03 /lib/private/connector/sabre
parentf8127046eea132733052f1edf1792012fcef776a (diff)
downloadnextcloud-server-372a9afabe9dc038e180312ef90fe9c11c692ef8.tar.gz
nextcloud-server-372a9afabe9dc038e180312ef90fe9c11c692ef8.zip
Fixing ctor calls and ctor itself to not break usage in calendar and contacts .....
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();