Merge pull request #14488 from nextcloud/fix/dav/has-photo

Fix dav has-photo plugin extend
This commit is contained in:
Morris Jobke 2019-03-03 23:23:16 +01:00 committed by GitHub
commit c706009ced
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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);
}
/**