diff options
author | levinse <levinse> | 2011-06-06 16:03:43 +0000 |
---|---|---|
committer | levinse <levinse> | 2011-06-06 16:03:43 +0000 |
commit | dd55ddfd65e28706cbbc4a6b0f7114cbe163def5 (patch) | |
tree | 0f9de0074c5c29432c405d51942ba5f10d0e4c5a /FS/bin/freeside-pkg-date-midnight | |
parent | 3969ced0aca74be9e54ae6a8a76123e088cf5076 (diff) |
oops
Diffstat (limited to 'FS/bin/freeside-pkg-date-midnight')
-rwxr-xr-x | FS/bin/freeside-pkg-date-midnight | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/FS/bin/freeside-pkg-date-midnight b/FS/bin/freeside-pkg-date-midnight index ad6ea59..dd322e2 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; |