diff options
author | Vincent Petry <pvince81@owncloud.com> | 2015-07-10 16:23:43 +0300 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2015-07-13 17:57:37 +0300 |
commit | 7e7e2f209925923dbdf9b76cf56142716dc7f37e (patch) | |
tree | 6b4d7d85af94c3092354fdbe094a14ae7bfbfa27 /lib | |
parent | c81823bb2d9539b2b061805446a5295033e93187 (diff) |
Fix DAV propfind call
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/files/storage/dav.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/files/storage/dav.php b/lib/private/files/storage/dav.php index 1385c08e906..c97a0e59aee 100644 --- a/lib/private/files/storage/dav.php +++ b/lib/private/files/storage/dav.php @@ -468,7 +468,7 @@ class DAV extends \OC\Files\Storage\Common { public function getPermissions($path) { $this->init(); $path = $this->cleanPath($path); - $response = $this->propfind($path); + $response = $this->client->propfind($this->encodePath($path), array('{http://owncloud.org/ns}permissions')); if (isset($response['{http://owncloud.org/ns}permissions'])) { return $this->parsePermissions($response['{http://owncloud.org/ns}permissions']); } else if ($this->is_dir($path)) { @@ -484,7 +484,7 @@ class DAV extends \OC\Files\Storage\Common { public function getETag($path) { $this->init(); $path = $this->cleanPath($path); - $response = $this->propfind($path); + $response = $this->client->propfind($this->encodePath($path), array('{DAV:}getetag')); if (isset($response['{DAV:}getetag'])) { return trim($response['{DAV:}getetag'], '"'); } |