MDL-47494 gapselect: NOBUG added extra options param for file access
authorJamie Pratt <me@jamiep.org>
Thu, 21 Jun 2012 07:07:42 +0000 (14:07 +0700)
committerJamie Pratt <me@jamiep.org>
Thu, 21 Jun 2012 07:07:42 +0000 (14:07 +0700)
question/type/gapselect/lib.php

index 5dc4cb4..3b82658 100644 (file)
@@ -30,9 +30,9 @@ defined('MOODLE_INTERNAL') || die();
 /**
  * Checks file access for gapselect questions.
  */
-function qtype_gapselect_pluginfile($course, $cm, $context, $filearea, $args, $forcedownload) {
+function qtype_gapselect_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);
 }