mirror of
https://github.com/moodle/moodle.git
synced 2025-01-17 21:49:15 +01:00
removing obsolete parameter
This commit is contained in:
parent
9344dea9c5
commit
9efa43f381
@ -241,7 +241,7 @@ case 'sign':
|
||||
break;
|
||||
|
||||
case 'download':
|
||||
$thefile = $repo->get_file($fileurl, $filename, $itemid);
|
||||
$thefile = $repo->get_file($fileurl, $filename);
|
||||
$filesize = filesize($thefile['path']);
|
||||
if (($maxbytes!=-1) && ($filesize>$maxbytes)) {
|
||||
print_error('maxbytes');
|
||||
|
Loading…
x
Reference in New Issue
Block a user