Update fileinfo.php
Edits isMounted() to remove the check for 'local' prefix, so that folder icons are displayed correctly (see issue #10712)
This commit is contained in:
parent
19f34bafa5
commit
c48e00294c
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue