aboutsummaryrefslogtreecommitdiffstats
path: root/bin/send-comments
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2012-12-10 16:28:52 +0000
committerMatthew Somerville <matthew@mysociety.org>2012-12-15 00:11:05 +0000
commitf82abb282f60191ee530c552bf025e509e2a57e8 (patch)
tree009ec8c702c77e5cd4e0b6a48542eee82538d4f5 /bin/send-comments
parent9486610ef67f031d80e70ec3cf1fea330858abd5 (diff)
Rename 'open311conf' database table to 'body'.
Diffstat (limited to 'bin/send-comments')
-rwxr-xr-xbin/send-comments2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/send-comments b/bin/send-comments
index 4955cb2f3..caf4b8b91 100755
--- a/bin/send-comments
+++ b/bin/send-comments
@@ -35,7 +35,7 @@ my ($verbose, $nomail) = CronFns::options();
my $base_url = mySociety::Config::get('BASE_URL');
my $site = CronFns::site($base_url);
-my $councils = FixMyStreet::App->model('DB::Open311Conf')->search( {
+my $councils = FixMyStreet::App->model('DB::Body')->search( {
send_method => SEND_METHOD_OPEN311,
send_comments => 1,
} );