don't overwrite shared folder icon

This commit is contained in:
Bjoern Schiessle 2014-04-08 16:56:10 +02:00
parent 4967435237
commit 83d6810725
1 changed files with 1 additions and 2 deletions

View File

@ -37,8 +37,7 @@ class Helper
$sid = explode(':', $sid);
if ($sid[0] === 'shared') {
$icon = \OC_Helper::mimetypeIcon('dir-shared');
}
if ($sid[0] !== 'local' and $sid[0] !== 'home') {
} elseif ($sid[0] !== 'local' and $sid[0] !== 'home') {
$icon = \OC_Helper::mimetypeIcon('dir-external');
}
}