mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 08:26:37 +02:00
MDL-28273 waring that removing user from cohorts may unenrol from courses
This commit is contained in:
parent
f6f6138379
commit
5121a95da2
2 changed files with 3 additions and 0 deletions
|
@ -62,6 +62,8 @@ $PAGE->set_heading($COURSE->fullname);
|
|||
echo $OUTPUT->header();
|
||||
echo $OUTPUT->heading(get_string('assignto', 'cohort', format_string($cohort->name)));
|
||||
|
||||
echo $OUTPUT->notification(get_string('removeuserwarning', 'core_cohort'));
|
||||
|
||||
// Get the user_selector we will need.
|
||||
$potentialuserselector = new cohort_candidate_selector('addselect', array('cohortid'=>$cohort->id));
|
||||
$existinguserselector = new cohort_existing_selector('removeselect', array('cohortid'=>$cohort->id));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue