summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2014-08-11 14:40:47 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2014-08-11 14:40:47 +0200
commit13d44f8f7f09b3fa641f2ea8e835d0be9bd00c49 (patch)
tree1adc393358085b9bbbc3700b462ccbd7b87b9d08 /lib
parent79fa2bc391e85657e62f5b23e4acfedd5153bbc2 (diff)
parent9d2cff50edec74eb6bacaa269342e8f0f9d48a40 (diff)
downloadnextcloud-server-13d44f8f7f09b3fa641f2ea8e835d0be9bd00c49.tar.gz
nextcloud-server-13d44f8f7f09b3fa641f2ea8e835d0be9bd00c49.zip
Merge pull request #10251 from owncloud/fix-dav-attributes-master
shared files/folders are not mounted
Diffstat (limited to 'lib')
-rw-r--r--lib/private/files/fileinfo.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/files/fileinfo.php b/lib/private/files/fileinfo.php
index d012c0c5a63..716b7d39402 100644
--- a/lib/private/files/fileinfo.php
+++ b/lib/private/files/fileinfo.php
@@ -215,7 +215,7 @@ class FileInfo implements \OCP\Files\FileInfo, \ArrayAccess {
$sid = $this->getStorage()->getId();
if (!is_null($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;