diff options
Diffstat (limited to 'perllib/FixMyStreet/App/Controller')
-rw-r--r-- | perllib/FixMyStreet/App/Controller/Report.pm | 15 | ||||
-rw-r--r-- | perllib/FixMyStreet/App/Controller/Report/New.pm | 4 |
2 files changed, 2 insertions, 17 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Report.pm b/perllib/FixMyStreet/App/Controller/Report.pm index a36a13399..c4138f4d6 100644 --- a/perllib/FixMyStreet/App/Controller/Report.pm +++ b/perllib/FixMyStreet/App/Controller/Report.pm @@ -43,13 +43,6 @@ Display a report. sub display : Path('') : Args(1) { my ( $self, $c, $id ) = @_; -# push @errors, _('There were problems with your update. Please see below.') if (scalar keys %field_errors); - -# my @vars = qw(id name rznvy update fixed add_alert upload_fileid submit_update); -# my %input = map { $_ => $q->param($_) || '' } @vars; -# my %input_h = map { $_ => $q->param($_) ? ent($q->param($_)) : '' } @vars; -# my $base = Cobrand::base_url($cobrand); - if ( $id =~ m{ ^ 3D (\d+) $ }x # Some council with bad email software || $id =~ m{ ^(\d+) \D .* $ }x # trailing garbage @@ -60,14 +53,6 @@ sub display : Path('') : Args(1) { $c->forward('load_problem_or_display_error', [ $id ] ); $c->forward( 'format_problem_for_display' ); -# -# $vars{update_blurb} = $q->p($q->small(_('Please note that updates are not sent to the council. If you leave your name it will be public. Your information will only be used in accordance with our <a href="/faq#privacy">privacy policy</a>'))) -# unless $q->{site} eq 'emptyhomes'; # No council blurb -# -# my %params = ( -# js => FixMyStreet::Map::header_js(), -# ); - } sub load_problem_or_display_error : Private { diff --git a/perllib/FixMyStreet/App/Controller/Report/New.pm b/perllib/FixMyStreet/App/Controller/Report/New.pm index 9e0193d3f..4916107aa 100644 --- a/perllib/FixMyStreet/App/Controller/Report/New.pm +++ b/perllib/FixMyStreet/App/Controller/Report/New.pm @@ -348,8 +348,8 @@ sub initialize_report : Private { =head2 determine_location Work out what the location of the report should be - either by using lat,lng or -a tile click or a user search query C<pc>. Returns false if no location could be -found. +a tile click or what's come in from a partial. Returns false if no location +could be found. =cut |