aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App/Controller/Admin.pm
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2012-01-20 10:44:58 +0000
committerMatthew Somerville <matthew@mysociety.org>2012-01-20 10:44:58 +0000
commitce98919c502c6e34a5469b0ae75746011fbcb7b3 (patch)
tree71723ebbd67a7c83ba76d6c9fcaa35fcdeb93d10 /perllib/FixMyStreet/App/Controller/Admin.pm
parent74f008e988ebc93380969f6761da8df527ff9940 (diff)
Remove some unused cobrand functions, start of a base class.
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Admin.pm')
-rw-r--r--perllib/FixMyStreet/App/Controller/Admin.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Admin.pm b/perllib/FixMyStreet/App/Controller/Admin.pm
index 04dfaf409..0e34ea64b 100644
--- a/perllib/FixMyStreet/App/Controller/Admin.pm
+++ b/perllib/FixMyStreet/App/Controller/Admin.pm
@@ -81,7 +81,7 @@ sub index : Path : Args(0) {
$c->stash->{alerts} = \%alert_counts;
- my $contacts = $c->model('DB::Contact')->summary_count( $c->cobrand->contact_restriction );
+ my $contacts = $c->model('DB::Contact')->summary_count();
my %contact_counts =
map { $_->confirmed => $_->get_column('confirmed_count') } $contacts->all;