Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove deprecated get_legacy_logdata functions. #436

Open
wants to merge 1 commit into
base: MOODLE_404_DEV
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 1 addition & 6 deletions mod/kalvidassign/classes/event/assignment_details_viewed.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,4 @@ public function get_description() {
public function get_url() {
return new \moodle_url('/mod/kalvidassign/view.php', array('cmid' => $this->contextinstanceid));
}

public function get_legacy_logdata() {
return array($this->courseid, 'kalvidassign', 'view assignment details',
$this->get_url(), $this->objectid, $this->contextinstanceid);
}
}
}
7 changes: 1 addition & 6 deletions mod/kalvidassign/classes/event/assignment_submitted.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,4 @@ public function get_description() {
public function get_url() {
return new \moodle_url('/mod/kalvidassign/view.php', array('cmid' => $this->contextinstanceid));
}

public function get_legacy_logdata() {
return array($this->courseid, 'kalvidassign', 'submit',
$this->get_url(), $this->objectid, $this->contextinstanceid);
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,4 @@ public function get_description() {
public function get_url() {
return new \moodle_url('/mod/kalvidassign/grade_submissions.php', array('cmid' => $this->contextinstanceid));
}

public function get_legacy_logdata() {
return array($this->courseid, 'kalvidassign', 'view submissions page',
$this->get_url(), $this->objectid, $this->contextinstanceid);
}
}
}
7 changes: 1 addition & 6 deletions mod/kalvidassign/classes/event/grades_updated.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,4 @@ public function get_description() {
public function get_url() {
return new \moodle_url('/mod/kalvidassign/grade_submissions.php', array('cmid' => $this->contextinstanceid));
}

public function get_legacy_logdata() {
return array($this->courseid, 'kalvidassign', 'update grades',
$this->get_url(), $this->contextinstanceid);
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,4 @@ public function get_description() {
public function get_url() {
return new \moodle_url('/mod/kalvidassign/single_submission.php', array('cmid' => $this->contextinstanceid));
}

public function get_legacy_logdata() {
return array($this->courseid, 'kalvidassign', 'view submission page',
$this->get_url(), $this->objectid, $this->contextinstanceid);
}
}
}
7 changes: 1 addition & 6 deletions mod/kalvidres/classes/event/video_resource_viewed.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,4 @@ public function get_description() {
public function get_url() {
return new \moodle_url('/mod/kalvidres/view.php', array('id' => $this->contextinstanceid));
}

public function get_legacy_logdata() {
return array($this->courseid, 'kalvidres', 'view video resource',
$this->get_url(), $this->objectid, $this->contextinstanceid);
}
}
}