Skip to content

Commit

Permalink
Fix #10.
Browse files Browse the repository at this point in the history
  • Loading branch information
gjb2048 committed Aug 30, 2024
1 parent e8036b9 commit ea1803b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -796,8 +796,6 @@ function format_vsf_extend_navigation_course(navigation_node $parentnode, stdCla
* @return boolean
*/
function format_vsf_pluginfile($course, $cm, $context, $filearea, $args, $forcedownload, array $options = []) {
require_login($course, false, $cm);

// Make sure the filearea is one of those used by the plugin.
if ($filearea !== 'modicon' && strpos($filearea, 'modicon_') !== 0) {
send_file_not_found();
Expand Down

0 comments on commit ea1803b

Please sign in to comment.