diff --git a/mod/survey/save.php b/mod/survey/save.php index 0fff2c75120..afa25b20ecd 100644 --- a/mod/survey/save.php +++ b/mod/survey/save.php @@ -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");