mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
Merge branch 'MDL-77130-master-v2' of https://github.com/dmitriim/moodle
This commit is contained in:
commit
ac7f9b45a3
16 changed files with 1008 additions and 35 deletions
|
@ -101,7 +101,15 @@ if ($hassiteconfig
|
|||
|
||||
$ADMIN->add('accounts', new admin_externalpage('profilefields', new lang_string('profilefields','admin'), "$CFG->wwwroot/user/profile/index.php", 'moodle/site:config'));
|
||||
$ADMIN->add('accounts', new admin_externalpage('cohorts', new lang_string('cohorts', 'cohort'), $CFG->wwwroot . '/cohort/index.php', array('moodle/cohort:manage', 'moodle/cohort:view')));
|
||||
|
||||
$ADMIN->add(
|
||||
'accounts',
|
||||
new admin_externalpage(
|
||||
'cohort_customfield',
|
||||
new lang_string('cohort_customfield', 'admin'),
|
||||
$CFG->wwwroot . '/cohort/customfield.php',
|
||||
['moodle/cohort:configurecustomfields']
|
||||
)
|
||||
);
|
||||
|
||||
// Stuff under the "roles" subcategory.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue