diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-06-29 15:54:05 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-06-29 15:54:05 +0200 |
commit | 372a9afabe9dc038e180312ef90fe9c11c692ef8 (patch) | |
tree | 32073f4c1f441fc3decdff834e5a2f715a27ef03 /apps/files_sharing | |
parent | f8127046eea132733052f1edf1792012fcef776a (diff) | |
download | nextcloud-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 'apps/files_sharing')
-rw-r--r-- | apps/files_sharing/publicwebdav.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/publicwebdav.php b/apps/files_sharing/publicwebdav.php index c75f9d1c7b5..be7530897f6 100644 --- a/apps/files_sharing/publicwebdav.php +++ b/apps/files_sharing/publicwebdav.php @@ -46,7 +46,7 @@ $server->addPlugin(new \Sabre\DAV\Auth\Plugin($authBackend, $defaults->getName() // FIXME: The following line is a workaround for legacy components relying on being able to send a GET to / $server->addPlugin(new \OC\Connector\Sabre\DummyGetResponsePlugin()); $server->addPlugin(new \OC\Connector\Sabre\FilesPlugin($objectTree)); -$server->addPlugin(new \OC\Connector\Sabre\MaintenancePlugin()); +$server->addPlugin(new \OC\Connector\Sabre\MaintenancePlugin(\OC::$server->getConfig())); $server->addPlugin(new \OC\Connector\Sabre\ExceptionLoggerPlugin('webdav', \OC::$server->getLogger())); // wait with registering these until auth is handled and the filesystem is setup |