*/
public function initialize(\Sabre\DAV\Server $server) {
- $server->xmlNamespaces[self::NS_OWNCLOUD] = 'oc';
+ $server->xml->namespaceMap[self::NS_OWNCLOUD] = 'oc';
$server->protectedProperties[] = self::FILEID_PROPERTYNAME;
$server->protectedProperties[] = self::INTERNAL_FILEID_PROPERTYNAME;
$server->protectedProperties[] = self::PERMISSIONS_PROPERTYNAME;
*/
public function initialize(\Sabre\DAV\Server $server) {
- $server->xmlNamespaces[self::NS_OWNCLOUD] = 'oc';
+ $server->xml->namespacesMap[self::NS_OWNCLOUD] = 'oc';
$server->propertyMap[self::TAGS_PROPERTYNAME] = 'OCA\\DAV\\Connector\\Sabre\\TagList';
$this->server = $server;