From: gustav_delius Date: Tue, 3 Oct 2006 18:19:38 +0000 (+0000) Subject: The course upload size limit applies to students only, it should not be imposed for... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=1dab3c83849da79656a0822ed75ee01c666bc2bc;p=moodle.git The course upload size limit applies to students only, it should not be imposed for teacher uploads. --- diff --git a/files/index.php b/files/index.php index b78af78f64..35d4dc8345 100644 --- a/files/index.php +++ b/files/index.php @@ -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");