MDL-15449, enrol multiple users to multiple courses, including bugs fix, see tracker, sent by Jonathan.
This commit is contained in:
@@ -24,7 +24,9 @@ class user_bulk_action_form extends moodleform {
|
||||
if (has_capability('moodle/user:update', $syscontext)) {
|
||||
$actions[5] = get_string('download', 'admin');
|
||||
}
|
||||
|
||||
if (has_capability('moodle/role:assign', $syscontext)){
|
||||
$actions[6] = get_string('enrolmultipleusers', 'admin');
|
||||
}
|
||||
$objs = array();
|
||||
$objs[] =& $mform->createElement('select', 'action', null, $actions);
|
||||
$objs[] =& $mform->createElement('submit', 'doaction', get_string('go'));
|
||||
@@ -106,4 +108,4 @@ class user_bulk_form extends moodleform {
|
||||
$renderer->setGroupElementTemplate($template, 'usersgrp');
|
||||
}
|
||||
}
|
||||
?>
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user