Changeset 925 in subversion


Ignore:
Timestamp:
Nov 25, 2007 11:21:55 AM (6 years ago)
Author:
thomasb
Message:

Don't create default folders by default

Location:
trunk/roundcubemail
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/roundcubemail/config/main.inc.php.dist

    r905 r925  
    131131 
    132132// add this user-agent to message headers when sending 
    133 $rcmail_config['useragent'] = 'RoundCube Webmail/0.1b'; 
     133$rcmail_config['useragent'] = 'RoundCube Webmail/0.1'; 
    134134 
    135135// use this name to compose page titles 
     
    157157// these folders will automatically be created if they do not exist 
    158158$rcmail_config['default_imap_folders'] = array('INBOX', 'Drafts', 'Sent', 'Junk', 'Trash'); 
     159 
     160// automatically create the above listed default folders on login 
     161$rcmail_config['create_default_folders'] = FALSE; 
    159162 
    160163// protect the default folders from renames, deletes, and subscription changes 
  • trunk/roundcubemail/program/include/main.inc

    r915 r925  
    661661    rcmail_set_imap_prop(); 
    662662    $IMAP->clear_cache('mailboxes'); 
    663     $IMAP->create_default_folders(); 
     663 
     664    if ($CONFIG['create_default_folders']) 
     665        $IMAP->create_default_folders(); 
    664666 
    665667    return TRUE; 
Note: See TracChangeset for help on using the changeset viewer.