aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xfripost-adduser9
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