multisize: removed useless test in i.php
git-svn-id: http://piwigo.org/svn/trunk@13171 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
parent
44abb902c8
commit
97132d9c6f
1 changed files with 0 additions and 4 deletions
4
i.php
4
i.php
|
|
@ -246,10 +246,6 @@ function parse_request()
|
|||
ierror('Invalid crop', 400);
|
||||
}
|
||||
$greatest = ImageStdParams::get_by_type(IMG_XXLARGE);
|
||||
if ($params->max_width() > $greatest->max_width() || $params->max_height() > $greatest->max_height())
|
||||
{
|
||||
ierror('Too big', 403);
|
||||
}
|
||||
|
||||
$key = array();
|
||||
$params->add_url_tokens($key);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue