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