MDL-53700 competency: Use URL resolver in events
This commit is contained in:
@@ -84,8 +84,7 @@ class competency_plan_unlinked extends base {
|
||||
* @return \moodle_url
|
||||
*/
|
||||
public function get_url() {
|
||||
return new \moodle_url('/admin/tool/lp/plan.php',
|
||||
array('id' => $this->objectid, 'pagecontextid' => $this->contextid));
|
||||
return \core_competency\url::plan($this->objectid);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user