summaryrefslogtreecommitdiffstats
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-11 14:42:56 +0200
commitd1658c1d2c53cd4a1e4b621dad52d99feb93fc89 (patch)
tree497c43ae52bcb1b19cc7cb2f53e73e5fe0f58556
parent5c89d9c9eeac97036baf6d7e275f638bba8d4110 (diff)
downloadnextcloud-server-d1658c1d2c53cd4a1e4b621dad52d99feb93fc89.tar.gz
nextcloud-server-d1658c1d2c53cd4a1e4b621dad52d99feb93fc89.zip
shared files/folders are not mounted
-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;