MDL-24064 disabling bulk enrol for now, it needs to be rewritten a bit; fixing incorrect sue of PARAM_CLEAN

This commit is contained in:
Petr Skoda 2010-09-02 18:08:04 +00:00
parent 7e4341f9f5
commit ceb65471f7
3 changed files with 10 additions and 6 deletions

View file

@ -24,8 +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)){ //TODO: use some enrol cap
$actions[6] = get_string('enrolmultipleusers', 'admin');
if (has_capability('moodle/role:assign', $syscontext)){
//TODO: MDL-24064
//$actions[6] = get_string('enrolmultipleusers', 'admin');
}
if (has_capability('moodle/user:update', $syscontext)) {
$actions[7] = get_string('forcepasswordchange');