diff options
-rw-r--r-- | perllib/FixMyStreet/App/Controller/Report/New.pm | 4 | ||||
-rw-r--r-- | perllib/FixMyStreet/App/Controller/Report/Update.pm | 4 | ||||
-rw-r--r-- | perllib/FixMyStreet/Cobrand/Bromley.pm | 4 | ||||
-rw-r--r-- | perllib/FixMyStreet/Cobrand/Default.pm | 2 | ||||
-rw-r--r-- | perllib/FixMyStreet/Cobrand/EmptyHomes.pm | 2 | ||||
-rw-r--r-- | perllib/FixMyStreet/Cobrand/UK.pm | 2 |
6 files changed, 9 insertions, 9 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Report/New.pm b/perllib/FixMyStreet/App/Controller/Report/New.pm index 2f03bf13b..a9814e426 100644 --- a/perllib/FixMyStreet/App/Controller/Report/New.pm +++ b/perllib/FixMyStreet/App/Controller/Report/New.pm @@ -855,7 +855,7 @@ sub process_report : Private { $report->bodies_str( $bodies ); my %extra; - $c->cobrand->process_extras( $c, undef, \%extra ); + $c->cobrand->process_open311_extras( $c, undef, \%extra ); if ( %extra ) { $report->extra( \%extra ); } @@ -931,7 +931,7 @@ sub process_report : Private { $report->non_public( 1 ); } - $c->cobrand->process_extras( $c, $contacts[0]->body_id, \@extra ); + $c->cobrand->process_open311_extras( $c, $contacts[0]->body_id, \@extra ); if ( @extra ) { $c->stash->{report_meta} = { map { $_->{name} => $_ } @extra }; diff --git a/perllib/FixMyStreet/App/Controller/Report/Update.pm b/perllib/FixMyStreet/App/Controller/Report/Update.pm index 45d924335..8d6bc2019 100644 --- a/perllib/FixMyStreet/App/Controller/Report/Update.pm +++ b/perllib/FixMyStreet/App/Controller/Report/Update.pm @@ -286,9 +286,9 @@ sub process_update : Private { my @extra; # Next function fills this, but we don't need it here. - # This is just so that the error checkign for these extra fields runs. + # This is just so that the error checking for these extra fields runs. # TODO Use extra here as it is used on reports. - $c->cobrand->process_extras( $c, $update->problem->bodies_str, \@extra ); + $c->cobrand->process_open311_extras( $c, $update->problem->bodies_str, \@extra ); if ( $c->get_param('fms_extra_title') ) { my %extras = (); diff --git a/perllib/FixMyStreet/Cobrand/Bromley.pm b/perllib/FixMyStreet/Cobrand/Bromley.pm index 687843a2a..c9f9a98be 100644 --- a/perllib/FixMyStreet/Cobrand/Bromley.pm +++ b/perllib/FixMyStreet/Cobrand/Bromley.pm @@ -81,9 +81,9 @@ sub ask_ever_reported { return 0; } -sub process_extras { +sub process_open311_extras { my $self = shift; - $self->SUPER::process_extras( @_, [ 'first_name', 'last_name' ] ); + $self->SUPER::process_open311_extras( @_, [ 'first_name', 'last_name' ] ); } sub contact_email { diff --git a/perllib/FixMyStreet/Cobrand/Default.pm b/perllib/FixMyStreet/Cobrand/Default.pm index e7a4dad72..a8e967ba7 100644 --- a/perllib/FixMyStreet/Cobrand/Default.pm +++ b/perllib/FixMyStreet/Cobrand/Default.pm @@ -754,7 +754,7 @@ If set to an arrayref, will plot those area ID(s) from mapit on all the /around sub areas_on_around { []; } -sub process_extras {} +sub process_open311_extras {} =head 2 pin_colour diff --git a/perllib/FixMyStreet/Cobrand/EmptyHomes.pm b/perllib/FixMyStreet/Cobrand/EmptyHomes.pm index 0b02f90c4..1a18bfa1b 100644 --- a/perllib/FixMyStreet/Cobrand/EmptyHomes.pm +++ b/perllib/FixMyStreet/Cobrand/EmptyHomes.pm @@ -132,7 +132,7 @@ sub council_rss_alert_options { return ( \@options, @reported_to_options ? \@reported_to_options : undef ); } -sub process_extras { +sub process_open311_extras { my $self = shift; my $ctx = shift; my $body_id = shift; diff --git a/perllib/FixMyStreet/Cobrand/UK.pm b/perllib/FixMyStreet/Cobrand/UK.pm index 824590d38..c33b39aac 100644 --- a/perllib/FixMyStreet/Cobrand/UK.pm +++ b/perllib/FixMyStreet/Cobrand/UK.pm @@ -27,7 +27,7 @@ sub disambiguate_location { }; } -sub process_extras { +sub process_open311_extras { my $self = shift; my $ctx = shift; my $body_id = shift; |