mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
MDL-24497, hide message when maxbytes option is not explicit defined in moodle form
This commit is contained in:
parent
ffdd6d1806
commit
831399c404
@ -1920,7 +1920,7 @@ class core_renderer extends renderer_base {
|
||||
$size = get_max_upload_file_size();
|
||||
}
|
||||
if ($size == -1) {
|
||||
$maxsize = get_string('maxfilesize', 'moodle', 'unlimited');
|
||||
$maxsize = '';
|
||||
} else {
|
||||
$maxsize = get_string('maxfilesize', 'moodle', display_size($size));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user