aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/CronFns.pm
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2015-01-15 15:33:21 +0000
committerMatthew Somerville <matthew-github@dracos.co.uk>2015-01-19 16:35:37 +0000
commit8e6d48d5ee351594fc92f1e680ba4a2219ed57ca (patch)
treea32bdde6047f357663883a995393a945e1dadff2 /perllib/CronFns.pm
parent96dd07e7c1dab2c8f9250af435caad2c2818b5a2 (diff)
Remove need for cron-wrapper with existing scripts
Call the necessary boilerplate in each script so you can call them directly. Remove boilerplate from files that don't need it.
Diffstat (limited to 'perllib/CronFns.pm')
-rwxr-xr-xperllib/CronFns.pm7
1 files changed, 0 insertions, 7 deletions
diff --git a/perllib/CronFns.pm b/perllib/CronFns.pm
index 28268c08e..545526c8e 100755
--- a/perllib/CronFns.pm
+++ b/perllib/CronFns.pm
@@ -3,19 +3,12 @@
#
# Copyright (c) 2009 UK Citizens Online Democracy. All rights reserved.
# Email: matthew@mysociety.org. WWW: http://www.mysociety.org
-#
-# $Id: CronFns.pm,v 1.1 2009-07-10 15:17:29 matthew Exp $
package CronFns;
use strict;
require 5.8.0;
-# Horrible boilerplate to set up appropriate library paths.
-use FindBin;
-use lib "$FindBin::Bin/../perllib";
-use lib "$FindBin::Bin/../commonlib/perllib";
-
use mySociety::Locale;
sub options {