summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2014-08-07 16:01:13 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2014-08-07 16:01:13 +0200
commit9d2cff50edec74eb6bacaa269342e8f0f9d48a40 (patch)
tree57b5826b3c9be38a93f1311078e83297a6ae83e7 /lib
parente33fc2807cef5c4e797f244e782c23e78a1d02fe (diff)
downloadnextcloud-server-9d2cff50edec74eb6bacaa269342e8f0f9d48a40.tar.gz
nextcloud-server-9d2cff50edec74eb6bacaa269342e8f0f9d48a40.zip
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;