diff --git a/classes/event/all_responses_viewed.php b/classes/event/all_responses_viewed.php index c2af5318..98b59ce3 100644 --- a/classes/event/all_responses_viewed.php +++ b/classes/event/all_responses_viewed.php @@ -84,14 +84,4 @@ public function get_url() { } return new \moodle_url("/mod/questionnaire/report.php", $params); } - - /** - * Return the legacy event log data. - * - * @return array - */ - protected function get_legacy_logdata() { - return array($this->courseid, "questionnaire", "view report", "report.php?id=" . $this->contextinstanceid, $this->objectid, - $this->contextinstanceid); - } } diff --git a/classes/event/attempt_saved.php b/classes/event/attempt_saved.php index b4fc02fe..c5ca4cea 100644 --- a/classes/event/attempt_saved.php +++ b/classes/event/attempt_saved.php @@ -70,16 +70,6 @@ public function get_url() { return new \moodle_url("/mod/questionnaire/view.php", array('id' => $this->contextinstanceid)); } - /** - * Return the legacy event log data. - * - * @return array - */ - protected function get_legacy_logdata() { - return array($this->courseid, "questionnaire", "save", "view.php?id=" . - $this->contextinstanceid, $this->other['questionnaireid'], $this->contextinstanceid); - } - /** * Custom validation. * diff --git a/classes/event/attempt_submitted.php b/classes/event/attempt_submitted.php index 2b82b017..274bdcbb 100644 --- a/classes/event/attempt_submitted.php +++ b/classes/event/attempt_submitted.php @@ -70,16 +70,6 @@ public function get_url() { return new \moodle_url("/mod/questionnaire/view.php", array('id' => $this->contextinstanceid)); } - /** - * Return the legacy event log data. - * - * @return array - */ - protected function get_legacy_logdata() { - return array($this->courseid, "questionnaire", "submit", "view.php?id=" . - $this->contextinstanceid, $this->other['questionnaireid'], $this->contextinstanceid); - } - /** * Custom validation. * diff --git a/classes/event/response_viewed.php b/classes/event/response_viewed.php index db0cb69b..404f3955 100644 --- a/classes/event/response_viewed.php +++ b/classes/event/response_viewed.php @@ -75,14 +75,4 @@ public function get_url() { $params['group'] = $this->other['currentgroupid']; return new \moodle_url("/mod/questionnaire/report.php", $params); } - - /** - * Return the legacy event log data. - * - * @return array - */ - protected function get_legacy_logdata() { - return array($this->courseid, "questionnaire", "view report", "report.php?id=" . $this->contextinstanceid, $this->objectid, - $this->contextinstanceid); - } }