The course upload size limit applies to students only, it should not be imposed for teacher uploads.

This commit is contained in:
gustav_delius 2006-10-03 18:19:38 +00:00
parent 9c59948e63
commit 1dab3c8384

View File

@ -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");