From 77971021fffc309beae262ae128d73c229dbafdd Mon Sep 17 00:00:00 2001 From: Stephen Bourget Date: Wed, 15 Jun 2016 17:09:17 -0400 Subject: [PATCH] MDL-54935 Survey: Remove duplicate event trigger --- mod/survey/save.php | 8 -------- 1 file changed, 8 deletions(-) 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");