mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-21 23:43:17 +01:00
* Mail - set default refresh rate to 5 minutes for new installations
This commit is contained in:
parent
26ed40bd73
commit
6572c98bd1
@ -27,6 +27,10 @@ if (!$GLOBALS['egw_setup']->db->affected_rows())
|
||||
$defaultgroup = $GLOBALS['egw_setup']->add_account('Default','Default','Group',False,False);
|
||||
$GLOBALS['egw_setup']->add_acl('mail','run',$defaultgroup);
|
||||
}
|
||||
$prefs = new Api\Preferences();
|
||||
$prefs->read_repository(false);
|
||||
$prefs->add('mail', 'nextmatch-mail.index.rows-autorefresh', '300', 'default');
|
||||
$prefs->save_repository(false, 'default');
|
||||
|
||||
// change common/default_app pref to mail, if it was felamimail
|
||||
Api\Preferences::change_preference('common', 'default_app', 'mail', 'felamimail');
|
||||
|
Loading…
Reference in New Issue
Block a user