From df98fe4dfff0a707c9800050f658100c57783654 Mon Sep 17 00:00:00 2001 From: Matthew Somerville Date: Tue, 12 Jan 2016 16:33:17 +0000 Subject: Factor multiple photo details into nicer function. Remove get_photo_params, which only looked at the first photo, make explicit when we're doing that using `.first`. --- perllib/FixMyStreet/App/Model/PhotoSet.pm | 5 ----- 1 file changed, 5 deletions(-) (limited to 'perllib/FixMyStreet/App/Model') diff --git a/perllib/FixMyStreet/App/Model/PhotoSet.pm b/perllib/FixMyStreet/App/Model/PhotoSet.pm index 9abe1dce7..35a7e8a53 100644 --- a/perllib/FixMyStreet/App/Model/PhotoSet.pm +++ b/perllib/FixMyStreet/App/Model/PhotoSet.pm @@ -292,11 +292,6 @@ sub _rotate_image { } - - - -# NB: These 2 subs stolen from A::C::Photo, should be purged from there! -# # Shrinks a picture to the specified size, but keeping in proportion. sub _shrink { my ($photo, $size) = @_; -- cgit v1.2.3