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:13:47 +00:00
parent 6ca5cf268b
commit 00ba27c582
+1 -1
View File
@@ -167,7 +167,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");