We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3b6185 commit a58f935Copy full SHA for a58f935
CHANGES.md
@@ -6,6 +6,7 @@ Changes
6
7
### Unreleased
8
9
+* 2024-10-14 - Upgrade: Adopt changes from MDL-81960 and use new \core\url class
10
* 2024-10-14 - Upgrade: Adopt changes from MDL-82158 and use new \core_cache\helper class.
11
* 2024-10-07 - Prepare compatibility for Moodle 4.5.
12
classes/event/courses_sorted.php
@@ -67,9 +67,9 @@ public function get_description() {
67
/**
68
* Get url related to the action.
69
*
70
- * @return \moodle_url
+ * @return \core\url
71
*/
72
public function get_url() {
73
- return new \moodle_url('/course/index.php', ['categoryid' => $this->objectid]);
+ return new \core\url('/course/index.php', ['categoryid' => $this->objectid]);
74
}
75
0 commit comments