mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 17:06:53 +02:00
MDL-64313 assign: feedback viewed event
When a student views their submission, if it has feedback create an event.
This commit is contained in:
parent
44890bd738
commit
c539c67d6b
1 changed files with 3 additions and 0 deletions
|
@ -5111,6 +5111,9 @@ class assign {
|
|||
|
||||
$viewfullnames = has_capability('moodle/site:viewfullnames', $this->get_context());
|
||||
|
||||
if ($grade) {
|
||||
\mod_assign\event\feedback_viewed::create_from_grade($this, $grade)->trigger();
|
||||
}
|
||||
$feedbackstatus = new assign_feedback_status($gradefordisplay,
|
||||
$gradeddate,
|
||||
$grader,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue