diff options
author | Matthew Somerville <matthew@mysociety.org> | 2016-03-08 17:24:51 +0000 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2016-03-08 17:26:39 +0000 |
commit | b3c925c1b76b93e7c952f1925a959346fae72bef (patch) | |
tree | ea7eab4c90a655f90cb0fd8f6ebc5d28fda04d88 /perllib/FixMyStreet/App/Controller/Report/Update.pm | |
parent | 2e0f8da2f9e1c99f87158fc439254fe8e4b42550 (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/Update.pm')
-rw-r--r-- | perllib/FixMyStreet/App/Controller/Report/Update.pm | 4 |
1 files changed, 2 insertions, 2 deletions
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 = (); |