From 005a41a3eee2e57a302e232902e16d5832d7c9d6 Mon Sep 17 00:00:00 2001 From: Moodle HQ git importer Date: Mon, 6 Jul 2009 00:38:18 +0000 Subject: [PATCH] Fixing drift between CVS and git --- mod/assignment/lib.php | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/mod/assignment/lib.php b/mod/assignment/lib.php index 3af7cfe7e1..ffe7097e80 100644 --- a/mod/assignment/lib.php +++ b/mod/assignment/lib.php @@ -2425,7 +2425,18 @@ function assignment_get_participants($assignmentid) { return ($students); } -function assignment_pluginfile($course, $cminfo, $context, $filearea, $args) { +/** + * Serves assingment submissions and otehr files. + * + * @param object $course + * @param object $cminfo + * @param object $context + * @param string $filearea + * @param array $args + * @param bool $forcedownload + * @return bool false if file not found, does not return if found - justsend the file + */ +function assignment_pluginfile($course, $cminfo, $context, $filearea, $args, $forcedownload) { global $CFG, $DB; if (!$assignment = $DB->get_record('assignment', array('id'=>$cminfo->instance))) { -- 2.39.5