summaryrefslogtreecommitdiff
path: root/roundcubemail
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-09-16 11:37:44 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-09-16 11:37:44 +0000
commitd01944ba3d6e8c7f8d47ef5662e53a6cfa3de98d (patch)
treefed14bfd555e693ff0b8837a792b9b97e2745f13 /roundcubemail
parent274cb6a59213b35dc17b4329482f0a8088a1970e (diff)
- Fix default folders settings (according to namespaces) for new users too
git-svn-id: https://svn.roundcube.net/trunk@5223 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail')
-rw-r--r--roundcubemail/program/include/rcmail.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/roundcubemail/program/include/rcmail.php b/roundcubemail/program/include/rcmail.php
index b364bd643..3cc277450 100644
--- a/roundcubemail/program/include/rcmail.php
+++ b/roundcubemail/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();