Skip to content

Commit

Permalink
Fix #70 - remove deprecated legacy log functions.
Browse files Browse the repository at this point in the history
  • Loading branch information
danmarsden committed Nov 3, 2023
1 parent 7c532b2 commit 26058cd
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions classes/event/subcourse_grades_fetched.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,14 +69,4 @@ public function get_description() {
public function get_url() {
return new \moodle_url('/mod/subcourse/view.php', ['id' => $this->contextinstanceid]);
}

/**
* Return the event data for the legacy log store.
*
* @return array
*/
public function get_legacy_logdata() {
return [$this->courseid, $this->objecttable, 'fetch',
'view.php?id='.$this->contextinstanceid, $this->other['refcourse'], $this->contextinstanceid];
}
}

0 comments on commit 26058cd

Please sign in to comment.