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 505791c commit 78ba6e0
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-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_opcache', new \core\lang_string('pluginname', 'tool_opcache'),
new moodle_url('/'.$CFG->admin.'/tool/opcache/index.php'), 'moodle/site:config');
new \core\url('/'.$CFG->admin.'/tool/opcache/index.php'), 'moodle/site:config');
$ADMIN->add('server', $settingspage);
}

0 comments on commit 78ba6e0

Please sign in to comment.