mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
Merge branch 'w46_MDL-36283_m24_cohortmembers' of git://github.com/skodak/moodle
This commit is contained in:
commit
8051e85a3f
1 changed files with 2 additions and 2 deletions
|
@ -68,8 +68,8 @@ echo $OUTPUT->heading(get_string('assignto', 'cohort', format_string($cohort->na
|
||||||
echo $OUTPUT->notification(get_string('removeuserwarning', 'core_cohort'));
|
echo $OUTPUT->notification(get_string('removeuserwarning', 'core_cohort'));
|
||||||
|
|
||||||
// Get the user_selector we will need.
|
// Get the user_selector we will need.
|
||||||
$potentialuserselector = new cohort_candidate_selector('addselect', array('cohortid'=>$cohort->id));
|
$potentialuserselector = new cohort_candidate_selector('addselect', array('cohortid'=>$cohort->id, 'accesscontext'=>$context));
|
||||||
$existinguserselector = new cohort_existing_selector('removeselect', array('cohortid'=>$cohort->id));
|
$existinguserselector = new cohort_existing_selector('removeselect', array('cohortid'=>$cohort->id, 'accesscontext'=>$context));
|
||||||
|
|
||||||
// Process incoming user assignments to the cohort
|
// Process incoming user assignments to the cohort
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue