Skip to content
Browse files

MDL-28273 waring that removing user from cohorts may unenrol from cou…

  • Loading branch information...
1 parent 74275cf commit c43a4beda87fa491293d8e477b666afa6fbeb487 @skodak skodak committed with Sam Hemelryk Jul 9, 2011
Showing with 3 additions and 0 deletions.
  1. +2 −0 cohort/assign.php
  2. +1 −0 lang/en/cohort.php
2 cohort/assign.php
@@ -62,6 +62,8 @@
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));
1 lang/en/cohort.php
@@ -49,4 +49,5 @@
$string['nocomponent'] = 'Created manually';
$string['potusers'] = 'Potential users';
$string['potusersmatching'] = 'Potential matching users';
+$string['removeuserwarning'] = 'Removing users from a cohort may result in unenrolling of users from multiple courses which includes deleting of user settings, grades, group membership and other user information from affected courses.';
$string['selectfromcohort'] = 'Select members from cohort';

0 comments on commit c43a4be

Please sign in to comment.
Something went wrong with that request. Please try again.