diff options
Diffstat (limited to 'lib/models/ModuleManagementModelTreeItem.php')
| -rw-r--r-- | lib/models/ModuleManagementModelTreeItem.php | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/models/ModuleManagementModelTreeItem.php b/lib/models/ModuleManagementModelTreeItem.php index 522a7b0..48c3b1b 100644 --- a/lib/models/ModuleManagementModelTreeItem.php +++ b/lib/models/ModuleManagementModelTreeItem.php @@ -138,14 +138,13 @@ abstract class ModuleManagementModelTreeItem extends ModuleManagementModel imple * in class ModuleManagementModel. * @return type */ - public static function getPathes($trails, $delimiter = ' · ', - $display_options = self::DISPLAY_DEFAULT) + public static function getPathes($trails, $delimiter = ' · ') { $pathes = []; foreach ($trails as $trail) { $pathes[] = join($delimiter, array_map( - function($a) use ($display_options) { - return $a->getDisplayName($display_options); + function($a) { + return $a->getDisplayName(); }, $trail)); } sort($pathes, SORT_LOCALE_STRING); |
