diff options
author | Stefan Kangas <skangas@skangas.se> | 2011-02-09 14:23:59 +0100 |
---|---|---|
committer | Stefan Kangas <skangas@skangas.se> | 2011-02-09 14:23:59 +0100 |
commit | dacc785b452c068322fb2ae35ff1686fca2226e4 (patch) | |
tree | f78e9e0c9e3bba05fa4be123c13fe7c6c1df8377 /fripost-adduser | |
parent | cbcd00f3a96af5213c2ce7ad4d49a84a80f42f72 (diff) |
Do not update create_date or change_date
Diffstat (limited to 'fripost-adduser')
-rwxr-xr-x | fripost-adduser | 9 |
1 files changed, 0 insertions, 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 |