aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/SendReport.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perllib/FixMyStreet/SendReport.pm')
-rw-r--r--perllib/FixMyStreet/SendReport.pm7
1 files changed, 7 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/SendReport.pm b/perllib/FixMyStreet/SendReport.pm
index 9ba507862..f679d826e 100644
--- a/perllib/FixMyStreet/SendReport.pm
+++ b/perllib/FixMyStreet/SendReport.pm
@@ -44,5 +44,12 @@ sub add_council {
$self->councils->{ $council } = { info => $info, config => $config };
}
+sub delete_council {
+ my $self = shift;
+ my $council = shift;
+
+ delete $self->councils->{$council};
+}
+
1;