From 4daaf297478aa66eb359e2989d729d98c3f45793 Mon Sep 17 00:00:00 2001 From: alecpl Date: Fri, 16 Sep 2011 11:37:44 +0000 Subject: [PATCH] - Fix default folders settings (according to namespaces) for new users too --- program/include/rcmail.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/program/include/rcmail.php b/program/include/rcmail.php index b364bd643..3cc277450 100644 --- a/program/include/rcmail.php +++ b/program/include/rcmail.php @@ -856,6 +856,10 @@ class rcmail else if ($config['auto_create_user']) { if ($created = rcube_user::create($username, $host)) { $user = $created; + + // fix default settings according to namespace prefix + $this->fix_namespace_settings($user); + // create default folders on first login if ($config['create_default_folders']) $this->imap->create_default_folders();