summaryrefslogtreecommitdiffstats
path: root/apps/dav/appinfo
diff options
context:
space:
mode:
authorGeorg Ehrke <developer@georgehrke.com>2016-06-21 15:25:44 +0200
committerThomas Müller <DeepDiver1975@users.noreply.github.com>2016-06-21 15:25:44 +0200
commit1452b74de7f5a3b3afae546b757d2a3889857a61 (patch)
tree0eba5164f1af53876cdeac866e273ab7a40393a4 /apps/dav/appinfo
parentf2f1eab7f4ade9abb77f70c6a5c3244b5c6153f4 (diff)
downloadnextcloud-server-1452b74de7f5a3b3afae546b757d2a3889857a61.tar.gz
nextcloud-server-1452b74de7f5a3b3afae546b757d2a3889857a61.zip
Contacts API: replace raw image data with url (#25081)
* add uri to AddressBookImpl array * Introduce ImageExportPlugin for CardDav * add plugin to v1 routes * replace binary contact photo with link * update tests * Adding unit tests
Diffstat (limited to 'apps/dav/appinfo')
-rw-r--r--apps/dav/appinfo/v1/carddav.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/dav/appinfo/v1/carddav.php b/apps/dav/appinfo/v1/carddav.php
index 88582d64ee5..fc7aff4a63c 100644
--- a/apps/dav/appinfo/v1/carddav.php
+++ b/apps/dav/appinfo/v1/carddav.php
@@ -75,6 +75,7 @@ if ($debugging) {
}
$server->addPlugin(new \Sabre\CardDAV\VCFExportPlugin());
+$server->addPlugin(new \OCA\DAV\CardDAV\ImageExportPlugin(\OC::$server->getLogger()));
$server->addPlugin(new ExceptionLoggerPlugin('carddav', \OC::$server->getLogger()));
// And off we go!