removing obsolete parameter

This commit is contained in:
Petr Skoda 2010-09-17 19:50:53 +00:00
parent 9344dea9c5
commit 9efa43f381

View File

@ -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');