[AMOS commit] MDL-37122 core get_max_upload_sizes: Include "Course/Site/Activity limit (X)" in list of options Committed into Git: 2013-01-21 06:36 UTC

[AMOS commit] MDL-37122 core get_max_upload_sizes: Include "Course/Site/Activity limit (X)" in list of options Committed into Git: 2013-01-21 06:36 UTC

by AMOS bot -
အကြောင်းပြန်မှု အရေအတွက်: 0
Author: Damyon Wiese
MDL-37122 core get_max_upload_sizes: Include "Course/Site/Activity limit (X)" in list of options
This change removes the "0 bytes" option from the get_max_upload_sizes list
and replaces it with "Course limit (X)" or "Site limit (X)" (whichever is smaller).
This means we can remove all custom handling in the modules that were removing and
adding these options. It only affects pages that pass valid options for sitelimit and
courselimit - so admin pages will work correctly.

It also orders the list so the course/site limit options will be first
(as it will be the largest).

AMOS START
REM [courseuploadlimit, core] has been parameterized to get [uploadlimitwithsize, core]
AMOS END


http://git.moodle.org/gw?p=moodle.git;a=commit;h=6b219310cf269df209a7b39e1003b1266a7329fb
http://github.com/moodle/moodle/commit/6b219310cf269df209a7b39e1003b1266a7329fb

+ 2.5 en [uploadlimitwithsize,core]
- 2.5 en [courseuploadlimit,core]