* 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 10:37:58 +00:00
parent 14a86eae9f
commit 620c91e755
2 changed files with 6 additions and 6 deletions

View File

@ -766,9 +766,9 @@ class emailadmin_bo extends so_sql
$profile = array(
'smtpType' => 'defaultsmtp',
'description' => 'default profile (created by setup)',
'ea_appname' => '',
'ea_group' => 0,
'ea_user' => 0,
//'ea_appname' => '',
//'ea_group' => 0,
//'ea_user' => 0,
'ea_active' => 1,
);

View File

@ -286,9 +286,9 @@
}
elseif ($_defaultProfile)
{
$where['ea_appname'] = '';
$where['ea_group'] = 0;
$where['ea_user'] = 0;
$where[] = "(ea_appname ='' or ea_appname is NULL)";
$where[] = "(ea_group=0 or ea_group is NULL)";
$where[] = "(ea_user =0 or ea_user is NULL)";
}
elseif ($_appName)
{