Fix dav has-photo plugin extend

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
John Molakvoæ (skjnldsv) 2019-03-03 19:06:22 +01:00
parent 1cfa870821
commit d6e9a2ea15
No known key found for this signature in database
GPG Key ID: 60C25B8C072916CF
1 changed files with 2 additions and 2 deletions

View File

@ -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);
}
/**