mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 09:26:35 +02:00
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:
parent
7e4341f9f5
commit
ceb65471f7
3 changed files with 10 additions and 6 deletions
|
@ -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');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue