mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-22 21:30:54 +01:00
* 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:
parent
14a86eae9f
commit
620c91e755
@ -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,
|
||||
);
|
||||
|
||||
|
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user