Skip to content

Commit 3ff3496

Browse files
committed
Upgrade: Adopt changes from MDL-81960 and use new \core\url class
1 parent 4de2d9f commit 3ff3496

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGES.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ Changes
66

77
### Unreleased
88

9+
* 2024-10-14 - Upgrade: Adopt changes from MDL-81960 and use new \core\url class
910
* 2024-10-14 - Upgrade: Adopt changes from MDL-81920 and use new \core\lang_string class.
1011
* 2024-10-14 - Upgrade: Adopt changes from MDL-82158 and use new \core_cache\factory class.
1112
* 2024-10-07 - Prepare compatibility for Moodle 4.5.

settings.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@
2727
if ($hassiteconfig) {
2828
// Add the plugin's main page to the server settings category.
2929
$settingspage = new admin_externalpage('tool_redis', new \core\lang_string('pluginname', 'tool_redis'),
30-
new moodle_url('/'.$CFG->admin.'/tool/redis/index.php'), 'moodle/site:config');
30+
new \core\url('/'.$CFG->admin.'/tool/redis/index.php'), 'moodle/site:config');
3131
$ADMIN->add('server', $settingspage);
3232
}

0 commit comments

Comments
 (0)