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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user