Skip to content

Commit 3652277

Browse files
committed
Remove unused call to pathinfo() in course home
1 parent f57c380 commit 3652277

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

main/inc/lib/course_home.lib.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1019,7 +1019,6 @@ public static function show_tools_category($all_tools_list, $rows = false)
10191019
) {
10201020
$customIcon = $item['tool']['custom_icon'];
10211021
if ($item['tool']['visibility'] == '0') {
1022-
$fileInfo = pathinfo($item['tool']['custom_icon']);
10231022
$customIcon = self::getDisableIcon($item['tool']['custom_icon']);
10241023
}
10251024
$original_image = Display::img(

0 commit comments

Comments
 (0)