aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2012-09-17 16:47:25 +0100
committerMatthew Somerville <matthew@mysociety.org>2012-09-17 16:47:25 +0100
commit2dc7311d2041261c677de2422ed71fafb7eb4597 (patch)
treee411c1baf1cbaea34614e395b8c4d335ffd58516
parentfd45324337458c99bc5750c1d1bedc1e61238e68 (diff)
Remove bit of unused code.
-rw-r--r--perllib/FixMyStreet/App/Controller/Reports.pm7
1 files changed, 0 insertions, 7 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Reports.pm b/perllib/FixMyStreet/App/Controller/Reports.pm
index dd725be19..444389ec2 100644
--- a/perllib/FixMyStreet/App/Controller/Reports.pm
+++ b/perllib/FixMyStreet/App/Controller/Reports.pm
@@ -170,13 +170,6 @@ sub rss_ward : Regex('^rss/(reports|area)$') : Args(2) {
$url .= '/' . $c->cobrand->short_name( $c->stash->{ward} ) if $c->stash->{ward};
$c->stash->{qs} = "/$url";
- my @params;
- push @params, $c->stash->{council}->{id} if $rss eq 'reports';
- push @params, $c->stash->{ward}
- ? $c->stash->{ward}->{id}
- : $c->stash->{council}->{id};
- $c->stash->{db_params} = [ @params ];
-
if ( $rss eq 'area' && $c->stash->{ward} ) {
# All problems within a particular ward
$c->stash->{type} = 'area_problems';