From: Moodle HQ git importer Date: Mon, 6 Jul 2009 00:38:18 +0000 (+0000) Subject: Fixing drift between CVS and git X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=005a41a3eee2e57a302e232902e16d5832d7c9d6;p=moodle.git Fixing drift between CVS and git --- 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))) {