From 7c1df92482fd5e69d885aaf8daf8f83c7692e26e Mon Sep 17 00:00:00 2001 From: Matthew Somerville Date: Thu, 10 Jan 2013 18:29:23 +0000 Subject: 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). --- perllib/FixMyStreet/App/Controller/Admin.pm | 9 --------- 1 file changed, 9 deletions(-) (limited to 'perllib/FixMyStreet/App/Controller/Admin.pm') 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'); - } - } - } } -- cgit v1.2.3