change common preference default-application to mail, if it was felamimail on install of new mail app

This commit is contained in:
Ralf Becker 2014-06-13 13:16:05 +00:00
parent 60106975aa
commit f3dc471729

View File

@ -25,3 +25,6 @@ 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);
}
// change common/default_app pref to mail, if it was felamimail
preferences::change_pref('common', 'default_app', 'mail', 'felamimail');