aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App.pm
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2017-08-29 15:15:10 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2017-08-29 15:15:10 +0100
commit759b5ef970546c0a70fb4f8d051b1f6dd54e4d2d (patch)
tree2f76a073e1c07df40e8cec71cafef02f5d54c184 /perllib/FixMyStreet/App.pm
parent05c6a4b980b07a7c15b6b9727f6315d326e233a0 (diff)
parentb43dbace0f747897640920e4cf9adb55b84bc2c8 (diff)
Merge branch 'move-report-states-to-database-part-1'
Diffstat (limited to 'perllib/FixMyStreet/App.pm')
-rw-r--r--perllib/FixMyStreet/App.pm6
1 files changed, 1 insertions, 5 deletions
diff --git a/perllib/FixMyStreet/App.pm b/perllib/FixMyStreet/App.pm
index 2365118ea..b7bbc8a0a 100644
--- a/perllib/FixMyStreet/App.pm
+++ b/perllib/FixMyStreet/App.pm
@@ -219,11 +219,7 @@ sub setup_request {
mySociety::MaPit::configure( "http://$host/fakemapit/" );
}
- # XXX Put in cobrand / do properly
- if ($c->cobrand->moniker eq 'zurich') {
- FixMyStreet::DB::Result::Problem->visible_states_add('unconfirmed');
- FixMyStreet::DB::Result::Problem->visible_states_remove('investigating');
- }
+ $c->cobrand->call_hook('setup_states');
if (FixMyStreet->test_mode) {
# Is there a better way of altering $c->config that may have