Skip to content

Commit 0aa45f1

Browse files
authored
GHI480 Removing deprecated get_legacy_logdata functions. (#481)
1 parent 5ca3d4c commit 0aa45f1

File tree

4 files changed

+0
-40
lines changed

4 files changed

+0
-40
lines changed

classes/event/all_responses_viewed.php

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -84,14 +84,4 @@ public function get_url() {
8484
}
8585
return new \moodle_url("/mod/questionnaire/report.php", $params);
8686
}
87-
88-
/**
89-
* Return the legacy event log data.
90-
*
91-
* @return array
92-
*/
93-
protected function get_legacy_logdata() {
94-
return array($this->courseid, "questionnaire", "view report", "report.php?id=" . $this->contextinstanceid, $this->objectid,
95-
$this->contextinstanceid);
96-
}
9787
}

classes/event/attempt_saved.php

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -70,16 +70,6 @@ public function get_url() {
7070
return new \moodle_url("/mod/questionnaire/view.php", array('id' => $this->contextinstanceid));
7171
}
7272

73-
/**
74-
* Return the legacy event log data.
75-
*
76-
* @return array
77-
*/
78-
protected function get_legacy_logdata() {
79-
return array($this->courseid, "questionnaire", "save", "view.php?id=" .
80-
$this->contextinstanceid, $this->other['questionnaireid'], $this->contextinstanceid);
81-
}
82-
8373
/**
8474
* Custom validation.
8575
*

classes/event/attempt_submitted.php

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -70,16 +70,6 @@ public function get_url() {
7070
return new \moodle_url("/mod/questionnaire/view.php", array('id' => $this->contextinstanceid));
7171
}
7272

73-
/**
74-
* Return the legacy event log data.
75-
*
76-
* @return array
77-
*/
78-
protected function get_legacy_logdata() {
79-
return array($this->courseid, "questionnaire", "submit", "view.php?id=" .
80-
$this->contextinstanceid, $this->other['questionnaireid'], $this->contextinstanceid);
81-
}
82-
8373
/**
8474
* Custom validation.
8575
*

classes/event/response_viewed.php

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -75,14 +75,4 @@ public function get_url() {
7575
$params['group'] = $this->other['currentgroupid'];
7676
return new \moodle_url("/mod/questionnaire/report.php", $params);
7777
}
78-
79-
/**
80-
* Return the legacy event log data.
81-
*
82-
* @return array
83-
*/
84-
protected function get_legacy_logdata() {
85-
return array($this->courseid, "questionnaire", "view report", "report.php?id=" . $this->contextinstanceid, $this->objectid,
86-
$this->contextinstanceid);
87-
}
8878
}

0 commit comments

Comments
 (0)