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