diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2016-03-21 12:27:13 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2016-03-23 10:35:21 +0100 |
commit | 164282c72ee8653df1a26e399ea3e87ee316af8d (patch) | |
tree | 81d7099793bf7945eb53b7362cf4080519452378 /apps/dav/lib/connector/sabre/serverfactory.php | |
parent | 520724d757af0645fd9847f8d1606d7341942fc1 (diff) | |
download | nextcloud-server-164282c72ee8653df1a26e399ea3e87ee316af8d.tar.gz nextcloud-server-164282c72ee8653df1a26e399ea3e87ee316af8d.zip |
Fix display of vcard and calendar object details page in browser plugin
Diffstat (limited to 'apps/dav/lib/connector/sabre/serverfactory.php')
-rw-r--r-- | apps/dav/lib/connector/sabre/serverfactory.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/dav/lib/connector/sabre/serverfactory.php b/apps/dav/lib/connector/sabre/serverfactory.php index 6ccec0bc0e8..423b73d2796 100644 --- a/apps/dav/lib/connector/sabre/serverfactory.php +++ b/apps/dav/lib/connector/sabre/serverfactory.php @@ -132,7 +132,8 @@ class ServerFactory { } $objectTree->init($root, $view, $this->mountManager); - $server->addPlugin(new \OCA\DAV\Connector\Sabre\FilesPlugin($objectTree, $view)); + $server->addPlugin(new \OCA\DAV\Connector\Sabre\FilesPlugin($objectTree, $view, false, + !$this->config->getSystemValue('debug', false))); $server->addPlugin(new \OCA\DAV\Connector\Sabre\QuotaPlugin($view)); if($this->userSession->isLoggedIn()) { |