aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpatdenice <patdenice@piwigo.org>2012-02-15 16:47:12 +0000
committerpatdenice <patdenice@piwigo.org>2012-02-15 16:47:12 +0000
commit97132d9c6f54cf8f3253dec6c5b77b3e0678483b (patch)
tree75b90f0ad9867605498a121526f693eb922c83d0
parent44abb902c8e0c32bab533cd127730536fc33df11 (diff)
multisize: removed useless test in i.php
git-svn-id: http://piwigo.org/svn/trunk@13171 68402e56-0260-453c-a942-63ccdbb3a9ee
-rw-r--r--i.php4
1 files changed, 0 insertions, 4 deletions
diff --git a/i.php b/i.php
index c60e5ba54..9b2494649 100644
--- a/i.php
+++ b/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);