diff options
author | Morris Jobke <hey@morrisjobke.de> | 2019-03-04 01:23:16 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-04 01:23:16 +0300 |
commit | c706009ced6399768b05f9c1e5fcf577d73e22b7 (patch) | |
tree | f500a31193851e2d4cb135ae43febe93c4227202 | |
parent | 3b9ced22dcc0e6f06320d8ae76dca773f2b92fdf (diff) | |
parent | d6e9a2ea15682d4610521decb5ef10d504aa9c7e (diff) |
Merge pull request #14488 from nextcloud/fix/dav/has-photo
Fix dav has-photo plugin extend
-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); } /** |