summaryrefslogtreecommitdiffstats
path: root/apps/dav/appinfo
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2017-05-08 11:25:02 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2017-05-08 12:40:00 +0200
commitdea6edb066a05a62601aa8a109a6ef8709e9620e (patch)
treea795599413e655a343e3e7ceab99d280e535657d /apps/dav/appinfo
parent92408390b02edcab91094c4477013d31c5677e44 (diff)
downloadnextcloud-server-dea6edb066a05a62601aa8a109a6ef8709e9620e.tar.gz
nextcloud-server-dea6edb066a05a62601aa8a109a6ef8709e9620e.zip
Fix init
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'apps/dav/appinfo')
-rw-r--r--apps/dav/appinfo/v1/carddav.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/appinfo/v1/carddav.php b/apps/dav/appinfo/v1/carddav.php
index d1aeeefb03f..8dea6684742 100644
--- a/apps/dav/appinfo/v1/carddav.php
+++ b/apps/dav/appinfo/v1/carddav.php
@@ -81,7 +81,7 @@ if ($debugging) {
$server->addPlugin(new \Sabre\DAV\Sync\Plugin());
$server->addPlugin(new \Sabre\CardDAV\VCFExportPlugin());
-$server->addPlugin(new \OCA\DAV\CardDAV\ImageExportPlugin(\OC::$server->getLogger()));
+$server->addPlugin(new \OCA\DAV\CardDAV\ImageExportPlugin(new \OCA\DAV\CardDAV\PhotoCache(\OC::$server->getAppDataDir('dav-photocache'))));
$server->addPlugin(new ExceptionLoggerPlugin('carddav', \OC::$server->getLogger()));
// And off we go!