summaryrefslogtreecommitdiff
path: root/program/include
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2007-11-25 16:21:55 +0000
committerthomascube <thomas@roundcube.net>2007-11-25 16:21:55 +0000
commitb2ff3d44610e1836fe7080a7afffdf4f6ebd32da (patch)
tree417843b8dbd1b40c7aa6e3a4a9bf76df755d94c1 /program/include
parenta898459be2e0ed1be20de4c7aeaba8df357f5d6b (diff)
Don't create default folders by default
Diffstat (limited to 'program/include')
-rw-r--r--program/include/main.inc4
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;
}