diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2019-03-03 19:06:22 +0100 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2019-03-03 19:06:22 +0100 |
commit | d6e9a2ea15682d4610521decb5ef10d504aa9c7e (patch) | |
tree | da0f990669482cf9dfeb75fe2830a5a129461b60 /apps/dav | |
parent | 1cfa870821c92bdd6854171c8c073ed16529b6df (diff) | |
download | nextcloud-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.php | 4 |
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); } /** |