diff options
author | tbartenstein <tbartenstein@users.noreply.github.com> | 2015-07-08 18:48:11 +0200 |
---|---|---|
committer | tbartenstein <tbartenstein@users.noreply.github.com> | 2015-07-08 18:48:11 +0200 |
commit | c48e00294c9d331f55b91c55f56daac706ecdf6b (patch) | |
tree | e4c9c762112840278e5e1e652658db15a2021908 /lib | |
parent | 19f34bafa5aab5a17a831a8ea63d63b5359b297f (diff) | |
download | nextcloud-server-c48e00294c9d331f55b91c55f56daac706ecdf6b.tar.gz nextcloud-server-c48e00294c9d331f55b91c55f56daac706ecdf6b.zip |
Update fileinfo.php
Edits isMounted() to remove the check for 'local' prefix, so that folder icons are displayed correctly (see issue #10712)
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/files/fileinfo.php | 2 |
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; |