1
0
mirror of https://github.com/moodle/moodle.git synced 2025-04-25 10:26:17 +02:00

MDL-68464 user: Remove legacy selectall

This commit is contained in:
Andrew Nicols 2020-05-20 07:32:49 +08:00
parent 31ffacb020
commit 6754ceae3a

@ -230,7 +230,6 @@ $baseurl = new moodle_url('/user/index.php', array(
'perpage' => $perpage));
$participanttable = new \core_user\table\participants("user-index-participants-{$course->id}");
$participanttable->set_selectall($selectall);
$participanttable->define_baseurl($baseurl);
// Manage enrolments.
@ -415,7 +414,7 @@ if ($bulkoperations) {
'data-action' => 'toggle',
'data-togglegroup' => 'participants-table',
'data-toggle' => 'action',
'disabled' => empty($selectall)
'disabled' => 'disabled'
);
$label = html_writer::tag('label', get_string("withselectedusers"),
['for' => 'formactionid', 'class' => 'col-form-label d-inline']);