diff options
author | alecpl <alec@alec.pl> | 2011-09-16 11:37:44 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2011-09-16 11:37:44 +0000 |
commit | 4daaf297478aa66eb359e2989d729d98c3f45793 (patch) | |
tree | ffc97c076afb3d873524d68e8631715cb3a2b5e0 /program/include | |
parent | 8c124b9ea8ae5a1793c61ccb4c4e5c0dd0f77787 (diff) |
- Fix default folders settings (according to namespaces) for new users too
Diffstat (limited to 'program/include')
-rw-r--r-- | program/include/rcmail.php | 4 |
1 files changed, 4 insertions, 0 deletions
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(); |