Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
577bd70
)
MDL-52840 assignsubmission_file: Change default setting file size
author
Shamim Rezaie
<rezaie@foodle.org>
Sun, 20 Nov 2016 17:38:05 +0000
(
04:38
+1100)
committer
Shamim Rezaie
<rezaie@foodle.org>
Sun, 20 Nov 2016 17:38:05 +0000
(
04:38
+1100)
The default value of the assignsubmission_file/maxbytes setting is changed to $CFG->maxbytes.
mod/assign/submission/file/settings.php
patch
|
blob
|
blame
|
history
diff --git
a/mod/assign/submission/file/settings.php
b/mod/assign/submission/file/settings.php
index
4f38fee
..
4d7eb22
100644
(file)
--- a/
mod/assign/submission/file/settings.php
+++ b/
mod/assign/submission/file/settings.php
@@
-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);
}