Merge branch 'MDL-77130-master-v2' of https://github.com/dmitriim/moodle

This commit is contained in:
Ilya Tregubov 2023-04-05 19:20:30 +08:00 committed by Sara Arjona
commit ac7f9b45a3
16 changed files with 1008 additions and 35 deletions

View file

@ -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.