diff options
Diffstat (limited to 'program')
-rw-r--r-- | program/include/main.inc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/program/include/main.inc b/program/include/main.inc index 1764435ee..49dd2aaff 100644 --- a/program/include/main.inc +++ b/program/include/main.inc @@ -660,7 +660,9 @@ function rcmail_login($user, $pass, $host=NULL) // force reloading complete list of subscribed mailboxes rcmail_set_imap_prop(); $IMAP->clear_cache('mailboxes'); - $IMAP->create_default_folders(); + + if ($CONFIG['create_default_folders']) + $IMAP->create_default_folders(); return TRUE; } |