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-12-05 13:02:20 +08:00
committed by Andrew Nicols
parent 617f8bb911
commit 0beeb95a8a
+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);
}