mirror of
https://github.com/moodle/moodle.git
synced 2025-04-13 12:32:08 +02:00
The course upload size limit applies to students only, it should not be imposed for teacher uploads.
This commit is contained in:
parent
9c59948e63
commit
1dab3c8384
@ -165,7 +165,7 @@
|
||||
// um will take care of error reporting.
|
||||
displaydir($wdir);
|
||||
} else {
|
||||
$upload_max_filesize = get_max_upload_file_size($CFG->maxbytes, $course->maxbytes);
|
||||
$upload_max_filesize = get_max_upload_file_size($CFG->maxbytes);
|
||||
$filesize = display_size($upload_max_filesize);
|
||||
|
||||
$struploadafile = get_string("uploadafile");
|
||||
|
Loading…
x
Reference in New Issue
Block a user