continue;
}
- // the act of sumitting of assignemnt may be considered private - only graders will see it if specified
+ // the act of sumbitting of assignment may be considered private - only graders will see it if specified
if (empty($CFG->assignment_showrecentsubmissions)) {
if (!array_key_exists($cm->id, $grader)) {
$grader[$cm->id] = has_capability('moodle/grade:viewall', get_context_instance(CONTEXT_MODULE, $cm->id));
$show[] = $submission;
continue;
}
-
- // the act of sumitting of assignemnt may be considered private - only graders will see it if specified
- if (!empty($CFG->assignment_showrecentsubmissions)) {
+ // the act of submitting of assignment may be considered private - only graders will see it if specified
+ if (empty($CFG->assignment_showrecentsubmissions)) {
if (!$grader) {
continue;
}