MDL-13807 assignment_showrecentsubmissions does not hide submissions on recent activity full report - patch by Jason Meinzer; merged from MOODLE_19_STABLE

This commit is contained in:
skodak 2008-03-18 16:45:44 +00:00
parent 60ce929f3c
commit 1986792355

View file

@ -2536,7 +2536,7 @@ function assignment_get_recent_mod_activity(&$activities, &$index, $timestart, $
} }
// the act of sumitting of assignemnt may be considered private - only graders will see it if specified // the act of sumitting of assignemnt may be considered private - only graders will see it if specified
if (!empty($CFG->assignment_limitrecentsubmissions)) { if (!empty($CFG->assignment_showrecentsubmissions)) {
if (!$grader) { if (!$grader) {
continue; continue;
} }