summaryrefslogtreecommitdiffstats
path: root/apps/dav
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2019-03-03 19:06:22 +0100
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2019-03-03 19:06:22 +0100
commitd6e9a2ea15682d4610521decb5ef10d504aa9c7e (patch)
treeda0f990669482cf9dfeb75fe2830a5a129461b60 /apps/dav
parent1cfa870821c92bdd6854171c8c073ed16529b6df (diff)
downloadnextcloud-server-d6e9a2ea15682d4610521decb5ef10d504aa9c7e.tar.gz
nextcloud-server-d6e9a2ea15682d4610521decb5ef10d504aa9c7e.zip
Fix dav has-photo plugin extend
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/dav')
-rw-r--r--apps/dav/lib/CardDAV/HasPhotoPlugin.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/dav/lib/CardDAV/HasPhotoPlugin.php b/apps/dav/lib/CardDAV/HasPhotoPlugin.php
index 58fffd275d9..65ba511919d 100644
--- a/apps/dav/lib/CardDAV/HasPhotoPlugin.php
+++ b/apps/dav/lib/CardDAV/HasPhotoPlugin.php
@@ -28,10 +28,11 @@ use Sabre\CardDAV\Card;
use Sabre\DAV\INode;
use Sabre\DAV\PropFind;
use Sabre\DAV\Server;
+use Sabre\DAV\ServerPlugin;
use Sabre\VObject\Component\VCard;
use Sabre\VObject\Reader;
-class HasPhotoPlugin extends \Sabre\CardDAV\Plugin {
+class HasPhotoPlugin extends ServerPlugin {
/** @var Server */
protected $server;
@@ -44,7 +45,6 @@ class HasPhotoPlugin extends \Sabre\CardDAV\Plugin {
*/
function initialize(Server $server) {
$server->on('propFind', [$this, 'propFind']);
- parent::initialize($server);
}
/**