Skip to content

Commit

Permalink
LP: Avoid to show PDF files with embed view - refs BT#22195
Browse files Browse the repository at this point in the history
  • Loading branch information
AngelFQC committed Nov 13, 2024
1 parent a032248 commit 54d55b5
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions main/lp/learnpath.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -3718,7 +3718,6 @@ public function get_link($type = 'http', $item_id = 0, $provided_toc = false)
'doc',
'docx',
'odt',
'pdf',
'dot',
];
$officeExtensions = [
Expand All @@ -3732,7 +3731,6 @@ public function get_link($type = 'http', $item_id = 0, $provided_toc = false)
'doc',
'docx',
'odt',
'pdf',
];

if (in_array($extension, $extensionsToDownload)) {
Expand Down

0 comments on commit 54d55b5

Please sign in to comment.