Fixing drift between CVS and git

This commit is contained in:
Moodle HQ git importer
2009-07-06 00:38:18 +00:00
parent de400ded7f
commit 005a41a3ee
+12 -1
View File
@@ -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))) {