Permalink
Browse files

The course upload size limit applies to students only, it should not …

…be imposed for teacher uploads.
  • Loading branch information...
gustav_delius
gustav_delius committed Oct 3, 2006
1 parent 9c59948 commit 1dab3c83849da79656a0822ed75ee01c666bc2bc
Showing with 1 addition and 1 deletion.
  1. +1 −1 files/index.php
View
@@ -165,7 +165,7 @@ function set_value(txt) {
// 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");

0 comments on commit 1dab3c8

Please sign in to comment.