aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App/Controller/Moderate.pm
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2014-11-05 22:33:17 +0000
committerMatthew Somerville <matthew-github@dracos.co.uk>2014-11-07 16:45:54 +0000
commit51637da78387f77a1ef2a95aad5d57a8362bf46c (patch)
tree2a88b22c2ec3c313b10dbb273a13b260ce7bb8bb /perllib/FixMyStreet/App/Controller/Moderate.pm
parent80f12b9529dca6b2f425918fce77da41da168f41 (diff)
Remove unused variable.
Also, s///r isn't present in 5.10, and FixMyStreet should still install on squeeze.
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Moderate.pm')
-rw-r--r--perllib/FixMyStreet/App/Controller/Moderate.pm1
1 files changed, 0 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Moderate.pm b/perllib/FixMyStreet/App/Controller/Moderate.pm
index b2bd3db3d..9c10ae36a 100644
--- a/perllib/FixMyStreet/App/Controller/Moderate.pm
+++ b/perllib/FixMyStreet/App/Controller/Moderate.pm
@@ -349,7 +349,6 @@ sub diff {
my $deleted = join '', $diff->Items(1);
unless ($deleted =~/^\s*$/) {
$string .= ' ' if $deleted =~/^ /;
- my $letters = ($deleted=~s/\W//r);
$string .= '[...]';
$string .= ' ' if $deleted =~/ $/;
}