From dacc785b452c068322fb2ae35ff1686fca2226e4 Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Wed, 9 Feb 2011 14:23:59 +0100 Subject: Do not update create_date or change_date --- fripost-adduser | 9 --------- 1 file changed, 9 deletions(-) diff --git a/fripost-adduser b/fripost-adduser index f153e67..7971138 100755 --- a/fripost-adduser +++ b/fripost-adduser @@ -26,7 +26,6 @@ use FindBin qw($Bin); use lib "$Bin/lib"; use Data::Dumper; -use DateTime; use Fripost::Password; use Fripost::Prompt; use Fripost::Schema; @@ -54,14 +53,6 @@ sub read_user_info { # Construct maildir from domain and user $user{maildir} = "$domain/$username/Maildir/"; # trailing slash important - # Set dates - my $now = DateTime->now( - # locale => 'sv_SE', - # time_zone => 'Europe/Stockholm', - ); - $user{create_date} = $now; - $user{change_date} = $now; - $user{active} = 1; # Generate password -- cgit v1.2.3