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:
tbartenstein 2015-07-08 18:48:11 +02:00
parent 19f34bafa5
commit c48e00294c
1 changed files with 1 additions and 1 deletions

View File

@ -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;