From 1dab3c83849da79656a0822ed75ee01c666bc2bc Mon Sep 17 00:00:00 2001 From: gustav_delius Date: Tue, 3 Oct 2006 18:19:38 +0000 Subject: [PATCH] The course upload size limit applies to students only, it should not be imposed for teacher uploads. --- files/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); -- 2.39.5