aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/Cobrand
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/Cobrand
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/Cobrand')
-rw-r--r--perllib/FixMyStreet/Cobrand/Bromley.pm4
-rw-r--r--perllib/FixMyStreet/Cobrand/Default.pm2
-rw-r--r--perllib/FixMyStreet/Cobrand/EmptyHomes.pm2
-rw-r--r--perllib/FixMyStreet/Cobrand/UK.pm2
4 files changed, 5 insertions, 5 deletions
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;