Fix oc:tags tag list serializer

Fixes propfind/proppatch of oc:tags
This commit is contained in:
Vincent Petry 2016-01-22 14:07:26 +01:00
parent 9b4c9a0357
commit 2f3e62a27f

View file

@ -109,7 +109,7 @@ class TagsPlugin extends \Sabre\DAV\ServerPlugin
public function initialize(\Sabre\DAV\Server $server) {
$server->xml->namespacesMap[self::NS_OWNCLOUD] = 'oc';
$server->propertyMap[self::TAGS_PROPERTYNAME] = 'OCA\\DAV\\Connector\\Sabre\\TagList';
$server->xml->elementMap[self::TAGS_PROPERTYNAME] = 'OCA\\DAV\\Connector\\Sabre\\TagList';
$this->server = $server;
$this->server->on('propFind', array($this, 'handleGetProperties'));