Skip to content

Commit 650a985

Browse files
authored
Merge pull request #3978 from christianbeeznest/BT19176
Learning path: Disable option to export a scorm when it is already a scorm - refs BT#19176
2 parents 34a3768 + 6afd126 commit 650a985

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

main/lp/lp_list.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -891,12 +891,6 @@ function confirmation(name) {
891891
Display::return_icon('cd.png', get_lang('ExportShort')),
892892
api_get_self()."?$cidReq&action=export&lp_id=$id"
893893
);
894-
} elseif ($details['lp_type'] == 2) {
895-
$dsp_disk = Display::url(
896-
Display::return_icon('cd.png', get_lang('ExportShort')),
897-
api_get_self()."?$cidReq&action=export&lp_id=$id&export_name="
898-
.api_replace_dangerous_char($name).'.zip'
899-
);
900894
} else {
901895
$dsp_disk = Display::return_icon(
902896
'cd_na.png',

0 commit comments

Comments
 (0)