mirror of
https://github.com/moodle/moodle.git
synced 2025-04-22 17:02:03 +02:00
MDL-48884 mod_assign: prevented setting gradebook feedback unnecessarily
This commit is contained in:
parent
4c27f52d91
commit
0b1df17129
@ -4328,6 +4328,7 @@ class assign {
|
||||
$this->get_grading_status($grade->userid) != ASSIGN_MARKING_WORKFLOW_STATE_RELEASED) {
|
||||
// Remove the grade (if it exists) from the gradebook as it is not 'final'.
|
||||
$grade->grade = -1;
|
||||
$grade->feedbacktext = '';
|
||||
}
|
||||
|
||||
if ($submission != null) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user