MDL-52840 assignsubmission_file: Change default setting file size

The default value of the assignsubmission_file/maxbytes setting is changed to $CFG->maxbytes.
This commit is contained in:
Shamim Rezaie
2016-11-21 04:38:05 +11:00
parent 577bd70d38
commit a6f29f4c63
+1 -1
View File
@@ -41,7 +41,7 @@ if (isset($CFG->maxbytes)) {
$element = new admin_setting_configselect('assignsubmission_file/maxbytes',
$name,
$description,
1048576,
$CFG->maxbytes,
get_max_upload_sizes($CFG->maxbytes, 0, 0, $maxbytes));
$settings->add($element);
}