Merge branch 'MDL-72095-master-3' of https://github.com/bmbrands/moodle

This commit is contained in:
Ilya Tregubov
2021-12-13 18:46:16 +02:00
68 changed files with 234 additions and 243 deletions
+2
View File
@@ -47,6 +47,8 @@ $PAGE->activityheader->set_attrs([
'hidecompletion' => true,
'description' => ''
]);
$PAGE->add_body_class('limitedwidth');
$data = new stdClass();
$data->id = $cm->id;
$maxbytes = get_user_max_upload_file_size($context, $CFG->maxbytes);