aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App/Controller
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2013-01-10 18:29:23 +0000
committerMatthew Somerville <matthew@mysociety.org>2013-01-10 18:29:23 +0000
commit7c1df92482fd5e69d885aaf8daf8f83c7692e26e (patch)
tree8387a5ab4a8c197be22d227c2efe620dd57d6c73 /perllib/FixMyStreet/App/Controller
parent7996a7c5ac4d909ef1f73d39aa20f78d09a988dc (diff)
Workflow simplifications for Zurich.
Allow DM/supers to assign new reports more obviously, by changing the one thing they need to (category for different DM, one of two body dropdowns for subdivisions or external body).
Diffstat (limited to 'perllib/FixMyStreet/App/Controller')
-rw-r--r--perllib/FixMyStreet/App/Controller/Admin.pm9
1 files changed, 0 insertions, 9 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Admin.pm b/perllib/FixMyStreet/App/Controller/Admin.pm
index e453a9565..2551de071 100644
--- a/perllib/FixMyStreet/App/Controller/Admin.pm
+++ b/perllib/FixMyStreet/App/Controller/Admin.pm
@@ -721,15 +721,6 @@ sub report_edit : Path('report_edit') : Args(1) {
# do this here otherwise lastupdate and confirmed times
# do not display correctly
$problem->discard_changes;
-
- if ( $c->cobrand->moniker eq 'zurich' && $c->req->param('body') ) {
- my $problem_body = $c->req->param('body');
- my $admin_body = $c->stash->{body};
- if ($admin_body->id ne $problem_body) {
- $c->detach('index');
- }
- }
-
}
}