aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/Cobrand/IsleOfWight.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perllib/FixMyStreet/Cobrand/IsleOfWight.pm')
-rw-r--r--perllib/FixMyStreet/Cobrand/IsleOfWight.pm9
1 files changed, 1 insertions, 8 deletions
diff --git a/perllib/FixMyStreet/Cobrand/IsleOfWight.pm b/perllib/FixMyStreet/Cobrand/IsleOfWight.pm
index 83431c532..ab79be832 100644
--- a/perllib/FixMyStreet/Cobrand/IsleOfWight.pm
+++ b/perllib/FixMyStreet/Cobrand/IsleOfWight.pm
@@ -50,14 +50,7 @@ sub updates_disallowed {
# Island Roads don't want any reports made before their go-live date visible on
# their cobrand at all.
-sub problems_restriction {
- my ($self, $rs) = @_;
- return $rs if FixMyStreet->config('STAGING_SITE') or FixMyStreet->test_mode;
- my $table = ref $rs eq 'FixMyStreet::DB::ResultSet::Nearby' ? 'problem' : 'me';
- return $rs->to_body($self->body)->search({
- "$table.confirmed" => { '>=', '2019-09-30' }
- });
-}
+sub cut_off_date { '2019-09-30' }
sub get_geocoder { 'OSM' }