Skip to content

Commit 54d55b5

Browse files
committed
LP: Avoid to show PDF files with embed view - refs BT#22195
1 parent a032248 commit 54d55b5

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

main/lp/learnpath.class.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3718,7 +3718,6 @@ public function get_link($type = 'http', $item_id = 0, $provided_toc = false)
37183718
'doc',
37193719
'docx',
37203720
'odt',
3721-
'pdf',
37223721
'dot',
37233722
];
37243723
$officeExtensions = [
@@ -3732,7 +3731,6 @@ public function get_link($type = 'http', $item_id = 0, $provided_toc = false)
37323731
'doc',
37333732
'docx',
37343733
'odt',
3735-
'pdf',
37363734
];
37373735

37383736
if (in_array($extension, $extensionsToDownload)) {

0 commit comments

Comments
 (0)