]> git.mjollnir.org Git - moodle.git/commitdiff
The course upload size limit applies to students only, it should not be imposed for...
authorgustav_delius <gustav_delius>
Tue, 3 Oct 2006 18:19:38 +0000 (18:19 +0000)
committergustav_delius <gustav_delius>
Tue, 3 Oct 2006 18:19:38 +0000 (18:19 +0000)
files/index.php

index b78af78f643243ad4ecf13bb31701d5eac45e84d..35d4dc83457610636dd828d970fec84ab8182ae1 100644 (file)
                 // 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");