aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App/Controller
diff options
context:
space:
mode:
Diffstat (limited to 'perllib/FixMyStreet/App/Controller')
-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 =~/ $/;
}