MDL-78175 course: move role renaming to participants

This commit is contained in:
Ferran Recio
2023-05-29 09:25:18 +02:00
parent 4ed782dd03
commit 0ad8fd077c
11 changed files with 157 additions and 44 deletions
+7
View File
@@ -882,6 +882,13 @@ class behat_navigation extends behat_base {
$identifier . '" does not exist');
}
return new moodle_url('/enrol/otherusers.php', ['id' => $courseid]);
case 'renameroles':
$courseid = $this->get_course_id($identifier);
if (!$courseid) {
throw new Exception('The specified course with shortname, fullname, or idnumber "' .
$identifier . '" does not exist');
}
return new moodle_url('/enrol/renameroles.php', ['id' => $courseid]);
}
$parts = explode(' ', $type);