From 7c2dc3d833206c9f869a4bf55db6c69c37953d7f Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Fri, 31 Dec 2010 04:05:20 +0100 Subject: adduser also creates maildir --- lib/Fripost/Schema/Result/Mailbox.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/Fripost/Schema') diff --git a/lib/Fripost/Schema/Result/Mailbox.pm b/lib/Fripost/Schema/Result/Mailbox.pm index 577c350..0932d5c 100644 --- a/lib/Fripost/Schema/Result/Mailbox.pm +++ b/lib/Fripost/Schema/Result/Mailbox.pm @@ -26,10 +26,10 @@ __PACKAGE__->load_components(qw/InflateColumn::DateTime/); __PACKAGE__->table('mailbox'); __PACKAGE__->add_columns(qw/ username password name maildir domain active /); __PACKAGE__->add_columns( - create_date => { data_type => 'datetime', timezone => "Europe/Stockholm", locale => "se_SV" }, - change_date => { data_type => 'datetime', timezone => "Europe/Stockholm", locale => "se_SV" } + create_date => { data_type => 'datetime', timezone => "Europe/Stockholm", locale => 'sv_SE' }, + change_date => { data_type => 'datetime', timezone => "Europe/Stockholm", locale => 'sv_SE' } ); - + __PACKAGE__->set_primary_key('username'); =head1 NAME -- cgit v1.2.3