/**
* Serves the glossary attachments. Implements needed access control ;-)
*
- * @global object
- * @global object
- * @return bool
+ * @param object $course
+ * @param object $cminfo
+ * @param object $context
+ * @param string $filearea
+ * @param array $args
+ * @param bool $forcedownload
+ * @return bool falso if file not found, does not return if found - just send the file
*/
-function glossary_pluginfile($course, $cminfo, $context, $filearea, $args) {
+function glossary_pluginfile($course, $cminfo, $context, $filearea, $args, $forcedownload) {
global $CFG, $DB;
if (!$cminfo->uservisible) {
/**
* Serves scorm content, introduction images and packages. Implements needed access control ;-)
*
- * @global stdClass
* @param object $course
* @param object $cminfo
* @param object $context
* @param string $filearea
* @param array $args
- * @return bool
+ * @param bool $forcedownload
+ * @return bool falso if file not found, does not return if found - justsend the file
*/
-function scorm_pluginfile($course, $cminfo, $context, $filearea, $args) {
+function scorm_pluginfile($course, $cminfo, $context, $filearea, $args, $forcedownload) {
global $CFG;
if (!$cminfo->uservisible) {