aboutsummaryrefslogtreecommitdiffstats
path: root/bin/update-all-reports
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2016-04-20 15:40:15 +0100
committerMatthew Somerville <matthew@mysociety.org>2016-04-20 19:36:25 +0100
commit0fe0f7e15317fd66925195bbb624bbb572d2b8ef (patch)
tree8b5197c482f2acf783dc37cbaded03e0a2f88e7c /bin/update-all-reports
parent193697bde57ef2cfd0a46bb5a85fa98727378297 (diff)
Remove some unused cobrands.
Diffstat (limited to 'bin/update-all-reports')
-rwxr-xr-xbin/update-all-reports8
1 files changed, 0 insertions, 8 deletions
diff --git a/bin/update-all-reports b/bin/update-all-reports
index d951756e4..6691ff4f0 100755
--- a/bin/update-all-reports
+++ b/bin/update-all-reports
@@ -81,14 +81,6 @@ while ( my @problem = $problems->next ) {
}
}
-if ( FixMyStreet->config('BASE_URL') =~ /emptyhomes/ ) {
- my $cobrand = FixMyStreet::Cobrand->get_class_for_moniker('emptyhomes')->new();
- my $stats = $cobrand->old_site_stats;
- foreach (keys %$stats) {
- $open{$_}{unknown} += $stats->{$_};
- }
-}
-
my $body = encode_json( {
fixed => \%fixed,
open => \%open,