aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App/Controller/Report/New.pm
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2016-03-08 17:24:51 +0000
committerMatthew Somerville <matthew@mysociety.org>2016-03-08 17:26:39 +0000
commitb3c925c1b76b93e7c952f1925a959346fae72bef (patch)
treeea7eab4c90a655f90cb0fd8f6ebc5d28fda04d88 /perllib/FixMyStreet/App/Controller/Report/New.pm
parent2e0f8da2f9e1c99f87158fc439254fe8e4b42550 (diff)
Rename process_extras to process_open311_extras.
It is currently only used for processing extra fields (the list, not the metadata hash) which is really only of relevance to Open311.
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Report/New.pm')
-rw-r--r--perllib/FixMyStreet/App/Controller/Report/New.pm4
1 files changed, 2 insertions, 2 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 };