aboutsummaryrefslogtreecommitdiffstats
path: root/perllib
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2013-02-07 18:28:06 +0000
committerMatthew Somerville <matthew@mysociety.org>2013-02-07 18:28:06 +0000
commit388f208e3f4a7d0475ead27788ee873bc988f187 (patch)
tree1d7000d18915c6e9cdfc878b22d837835f4f04e5 /perllib
parent3d631a9ee48fbff1741525f7ad9e9a530854d03b (diff)
Unneeded text now cache better.
Diffstat (limited to 'perllib')
-rw-r--r--perllib/FixMyStreet/App/Controller/Admin.pm2
1 files changed, 0 insertions, 2 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Admin.pm b/perllib/FixMyStreet/App/Controller/Admin.pm
index 4fa9992f2..2ade99450 100644
--- a/perllib/FixMyStreet/App/Controller/Admin.pm
+++ b/perllib/FixMyStreet/App/Controller/Admin.pm
@@ -1339,8 +1339,6 @@ sub rotate_photo : Private {
my $fileid = sha1_hex($photo);
$file = file( $c->config->{UPLOAD_DIR}, "$fileid.jpeg" );
- $c->stash->{rotated} = 1;
-
my $fh = $file->open('w');
print $fh $photo;
close $fh;