aboutsummaryrefslogtreecommitdiffstats
path: root/bin/fetch-comments
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2015-09-25 22:35:39 +0100
committerMatthew Somerville <matthew@mysociety.org>2015-12-02 17:41:35 +0000
commit55412b79394ff1b1cabe368aed67fa8f68680ecc (patch)
tree33657093517818b8ba60f156484ec540f9c4af17 /bin/fetch-comments
parent0c2a792b154e1b28528db887bbde80b19268b9fe (diff)
Reduce use of FixMyStreet::App.
Command line scripts don't need a full blown app, just database.
Diffstat (limited to 'bin/fetch-comments')
-rwxr-xr-xbin/fetch-comments3
1 files changed, 0 insertions, 3 deletions
diff --git a/bin/fetch-comments b/bin/fetch-comments
index 4eb9def14..55ba70d85 100755
--- a/bin/fetch-comments
+++ b/bin/fetch-comments
@@ -15,14 +15,11 @@ BEGIN {
require "$d/../setenv.pl";
}
-use FixMyStreet::App;
use CronFns;
my ($verbose, $nomail) = CronFns::options();
-use Open311;
use Open311::GetServiceRequestUpdates;
-
my $updates = Open311::GetServiceRequestUpdates->new( verbose => $verbose );
$updates->fetch;