mirror of
https://github.com/moodle/moodle.git
synced 2025-01-31 20:53:53 +01:00
MDL-53915 tool_cohortroles: Change setting URL to a proper moodle_url
This commit is contained in:
parent
6bd3ab0717
commit
147427ee7b
@ -24,4 +24,5 @@
|
||||
|
||||
defined('MOODLE_INTERNAL') || die;
|
||||
$str = get_string('managecohortroles', 'tool_cohortroles');
|
||||
$ADMIN->add('roles', new admin_externalpage('toolcohortroles', $str, '/admin/tool/cohortroles/index.php', 'moodle/role:manage'));
|
||||
$url = new moodle_url('/admin/tool/cohortroles/index.php');
|
||||
$ADMIN->add('roles', new admin_externalpage('toolcohortroles', $str, $url, 'moodle/role:manage'));
|
||||
|
Loading…
x
Reference in New Issue
Block a user