Merge pull request #10251 from owncloud/fix-dav-attributes-master

shared files/folders are not mounted
This commit is contained in:
Thomas Müller 2014-08-11 14:40:47 +02:00
commit 13d44f8f7f

View file

@ -215,7 +215,7 @@ class FileInfo implements \OCP\Files\FileInfo, \ArrayAccess {
$sid = $this->getStorage()->getId(); $sid = $this->getStorage()->getId();
if (!is_null($sid)) { if (!is_null($sid)) {
$sid = explode(':', $sid); $sid = explode(':', $sid);
return ($sid[0] !== 'local' and $sid[0] !== 'home'); return ($sid[0] !== 'local' and $sid[0] !== 'home' and $sid[0] !== 'shared');
} }
return false; return false;