summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2015-08-24 09:57:27 +0200
committerVincent Petry <pvince81@owncloud.com>2015-08-24 09:57:27 +0200
commit31d62c10bfa014ec295654da0dd77963a6d670dc (patch)
tree55975f46a4b10592ed9bd00fcf3e840ece1a2af5 /lib
parent40b1054530229139a5cacf28ed4b883d52835ad6 (diff)
parent5e1c2aecc787c6504704deb85ca2ad493a1ad5d1 (diff)
downloadnextcloud-server-31d62c10bfa014ec295654da0dd77963a6d670dc.tar.gz
nextcloud-server-31d62c10bfa014ec295654da0dd77963a6d670dc.zip
Merge pull request #17501 from tbartenstein/patch-1
Update fileinfo.php
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 82c8f3de690..b333844f8c8 100644
--- a/lib/private/files/fileinfo.php
+++ b/lib/private/files/fileinfo.php
@@ -252,7 +252,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' and $sid[0] !== 'shared');
+ return ($sid[0] !== 'home' and $sid[0] !== 'shared');
}
return false;