mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 08:26:37 +02:00
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:
parent
60ce929f3c
commit
1986792355
1 changed files with 2 additions and 2 deletions
|
@ -1236,7 +1236,7 @@ class assignment_base {
|
||||||
$teachermodified = '<div id="tt'.$auser->id.'"> </div>';
|
$teachermodified = '<div id="tt'.$auser->id.'"> </div>';
|
||||||
$status = '<div id="st'.$auser->id.'"> </div>';
|
$status = '<div id="st'.$auser->id.'"> </div>';
|
||||||
|
|
||||||
if ($final_grade->locked or $final_grade->overridden) {
|
if ($final_grade->locked or $final_grade->overridden) {
|
||||||
$grade = '<div id="g'.$auser->id.'">'.$final_grade->formatted_grade . '</div>';
|
$grade = '<div id="g'.$auser->id.'">'.$final_grade->formatted_grade . '</div>';
|
||||||
} else if ($quickgrade) { // allow editing
|
} else if ($quickgrade) { // allow editing
|
||||||
$menu = choose_from_menu(make_grades_menu($this->assignment->grade),
|
$menu = choose_from_menu(make_grades_menu($this->assignment->grade),
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue