summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xFS/bin/freeside-pkg-date-midnight6
1 files changed, 0 insertions, 6 deletions
diff --git a/FS/bin/freeside-pkg-date-midnight b/FS/bin/freeside-pkg-date-midnight
index ad6ea59fc..dd322e22e 100755
--- a/FS/bin/freeside-pkg-date-midnight
+++ b/FS/bin/freeside-pkg-date-midnight
@@ -5,7 +5,6 @@ use Getopt::Std;
use FS::UID qw(adminsuidsetup);
use FS::Record qw(qsearch qsearchs dbh);
use Data::Dumper;
-use Date::Manip::Date;
use POSIX;
&untaint_argv; #what it sounds like (eww)
@@ -26,11 +25,6 @@ while ( $row = $sth->fetchrow_hashref ) {
my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) =
localtime($bill);
- my $date = new Date::Manip::Date;
- my $err = $date->parse($bill);
-
- my $datefixed = $date->calc(?,1);
-
if ( $hour != 0 || $min != 0 || $sec != 0 ) {
$hour = 0;
$min = 0;