Merge pull request #9755 from owncloud/fix-webdav-attribute-permissions-master

perm -> permissions
This commit is contained in:
Morris Jobke 2014-07-21 15:18:40 +02:00
commit 1173a55ddb

View file

@ -37,7 +37,7 @@ class OC_Connector_Sabre_FilesPlugin extends \Sabre\DAV\ServerPlugin
$server->xmlNamespaces[self::NS_OWNCLOUD] = 'oc'; $server->xmlNamespaces[self::NS_OWNCLOUD] = 'oc';
$server->protectedProperties[] = '{' . self::NS_OWNCLOUD . '}id'; $server->protectedProperties[] = '{' . self::NS_OWNCLOUD . '}id';
$server->protectedProperties[] = '{' . self::NS_OWNCLOUD . '}perm'; $server->protectedProperties[] = '{' . self::NS_OWNCLOUD . '}permissions';
$this->server = $server; $this->server = $server;
$this->server->subscribeEvent('beforeGetProperties', array($this, 'beforeGetProperties')); $this->server->subscribeEvent('beforeGetProperties', array($this, 'beforeGetProperties'));