MDL-66768 forumreport_summary: remove the select column when downloading

This commit is contained in:
Shamim Rezaie 2019-10-11 20:45:07 +11:00
parent a90b8056ba
commit bf2e1bec4e

View File

@ -76,7 +76,7 @@ $PAGE->set_heading($course->fullname);
$PAGE->navbar->add(get_string('nodetitle', "forumreport_summary"));
// Prepare and display the report.
$bulkoperations = !empty($CFG->messaging) && has_capability('moodle/course:bulkmessaging', $context);
$bulkoperations = !$download && !empty($CFG->messaging) && has_capability('moodle/course:bulkmessaging', $context);
$table = new \forumreport_summary\summary_table($courseid, $filters, $bulkoperations);
$table->baseurl = $url;