- Fix default folders settings (according to namespaces) for new users too

release-0.7
alecpl 13 years ago
parent 8c124b9ea8
commit 4daaf29747

@ -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();

Loading…
Cancel
Save