mirror of
https://github.com/moodle/moodle.git
synced 2025-04-13 12:32:08 +02:00
MDL-54935 Survey: Remove duplicate event trigger
This commit is contained in:
parent
a0a63678a9
commit
77971021ff
@ -68,14 +68,6 @@
|
||||
|
||||
survey_save_answers($survey, $formdata, $course, $context);
|
||||
|
||||
$params = array(
|
||||
'context' => $context,
|
||||
'courseid' => $course->id,
|
||||
'other' => array('surveyid' => $survey->id)
|
||||
);
|
||||
$event = \mod_survey\event\response_submitted::create($params);
|
||||
$event->trigger();
|
||||
|
||||
// Print the page and finish up.
|
||||
|
||||
notice(get_string("thanksforanswers","survey", $USER->firstname), "$CFG->wwwroot/course/view.php?id=$course->id");
|
||||
|
Loading…
x
Reference in New Issue
Block a user