* emailadmin: restored capability of storing setup mail server settings to first default emailadmin profile (no app, no group, no user)

This commit is contained in:
Klaus Leithoff 2011-06-20 09:56:39 +00:00
parent 4a1d2cd72c
commit d32809bb90

View File

@ -45,7 +45,7 @@ function mail_server($settings)
}
if (@file_exists('../emailadmin/inc/class.emailadmin_bo.inc.php') && $GLOBALS['egw_setup']->table_exist(array('egw_emailadmin')))
{
$emailadmin = new emailadmin_bo(-1,false); // false=no session stuff
$emailadmin = new emailadmin_bo(false,false); // false=no session stuff
if (is_object($emailadmin))
{
$emailadmin->setDefaultProfile($settings);