Skip to content

Commit

Permalink
Upgrade: Adopt changes from MDL-81960 and use new \core\url class
Browse files Browse the repository at this point in the history
  • Loading branch information
abias committed Oct 29, 2024
1 parent 4de2d9f commit 3ff3496
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Changes

### Unreleased

* 2024-10-14 - Upgrade: Adopt changes from MDL-81960 and use new \core\url class
* 2024-10-14 - Upgrade: Adopt changes from MDL-81920 and use new \core\lang_string class.
* 2024-10-14 - Upgrade: Adopt changes from MDL-82158 and use new \core_cache\factory class.
* 2024-10-07 - Prepare compatibility for Moodle 4.5.
Expand Down
2 changes: 1 addition & 1 deletion settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@
if ($hassiteconfig) {
// Add the plugin's main page to the server settings category.
$settingspage = new admin_externalpage('tool_redis', new \core\lang_string('pluginname', 'tool_redis'),
new moodle_url('/'.$CFG->admin.'/tool/redis/index.php'), 'moodle/site:config');
new \core\url('/'.$CFG->admin.'/tool/redis/index.php'), 'moodle/site:config');
$ADMIN->add('server', $settingspage);
}

0 comments on commit 3ff3496

Please sign in to comment.