> // automatically create the above listed default folders on login
> $rcmail_config['create_default_folders'] = true;

this makes me believe that if the folders do not exist upon login,
they will be created.

but actually, they are only created if the user does not exist:

program/include/rcmail.php:627
>     // user already registered -> update user's record
>     if (is_object($user)) {
>       // create default folders on first login
>       if (!$user->data['last_login'] && $config['create_default_folders'])
>         $this->imap->create_default_folders();
>       $user->touch();
>     }
>     // create new system user
>     else if ($config['auto_create_user']) {
>       if ($created = rcube_user::create($username, $host)) {
>         $user = $created;
>         // create default folders on first login
>         if ($config['create_default_folders'])
>           $this->imap->create_default_folders();
...



this has been changed in r3232

so how do i get these default folders now, if i already have a rc
profile?

maybe we should create an option to auto-create the default folders
via "settings/special folders"?

thanks,
raoul
-- 
____________________________________________________________________
DI (FH) Raoul Bhatia M.Sc.          email.          [email protected]
Technischer Leiter

IPAX - Aloy Bhatia Hava OG          web.          http://www.ipax.at
Barawitzkagasse 10/2/2/11           email.            [email protected]
1190 Wien                           tel.               +43 1 3670030
FN 277995t HG Wien                  fax.            +43 1 3670030 15
____________________________________________________________________
_______________________________________________
List info: http://lists.roundcube.net/dev/

Reply via email to