don't overwrite shared folder icon
This commit is contained in:
parent
4967435237
commit
83d6810725
|
@ -37,8 +37,7 @@ class Helper
|
||||||
$sid = explode(':', $sid);
|
$sid = explode(':', $sid);
|
||||||
if ($sid[0] === 'shared') {
|
if ($sid[0] === 'shared') {
|
||||||
$icon = \OC_Helper::mimetypeIcon('dir-shared');
|
$icon = \OC_Helper::mimetypeIcon('dir-shared');
|
||||||
}
|
} elseif ($sid[0] !== 'local' and $sid[0] !== 'home') {
|
||||||
if ($sid[0] !== 'local' and $sid[0] !== 'home') {
|
|
||||||
$icon = \OC_Helper::mimetypeIcon('dir-external');
|
$icon = \OC_Helper::mimetypeIcon('dir-external');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue