Skip to content

Commit

Permalink
MDL-47494 ddwtos: NOBUG added extra options param for file access
Browse files Browse the repository at this point in the history
  • Loading branch information
jamiepratt committed Jun 21, 2012
1 parent 5de5ae3 commit 6ab6252
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions question/type/ddwtos/lib.php
Expand Up @@ -30,9 +30,9 @@
/**
* Checks file access for essay questions.
*/
function qtype_ddwtos_pluginfile($course, $cm, $context, $filearea, $args, $forcedownload) {
function qtype_ddwtos_pluginfile($course, $cm, $context, $filearea, $args, $forcedownload, array $options=array()) {
global $CFG;
require_once($CFG->libdir . '/questionlib.php');
question_pluginfile($course, $context, 'qtype_ddmarker', $filearea, $args, $forcedownload);
question_pluginfile($course, $context, 'qtype_ddmarker', $filearea, $args, $forcedownload, $options);
}

0 comments on commit 6ab6252

Please sign in to comment.