mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 08:23:12 +01:00
catching empty serverclass in getIMAPLogin Times; taking care of new entrys while tracking changes
This commit is contained in:
parent
9272642663
commit
5d17c31867
@ -327,7 +327,7 @@ class emailadmin_bo extends so_sql
|
||||
if (!($result = parent::save()))
|
||||
{
|
||||
$GLOBALS['egw']->contenthistory->updateTimeStamp('emailadmin_profiles', $this->data['ea_profile_id'], $old === false ? 'add' : 'modify', time());
|
||||
$this->tracking->track($content,$old,null,false,null,true);
|
||||
$this->tracking->track($content,(is_array($old)?$old:array()),null,false,null,true);
|
||||
}
|
||||
return $result;
|
||||
}
|
||||
|
@ -231,6 +231,7 @@ class emailadmin_ui extends emailadmin_bo
|
||||
|
||||
static function getIMAPLoginTypes($serverclass='defaultimap')
|
||||
{
|
||||
if (empty($serverclass)) $serverclass = 'defaultimap';
|
||||
//error_log(__METHOD__.' called with:'.$serverclass." with capabilities:".parent::$IMAPServerType[$serverclass]['imapcapabilities']);
|
||||
$returnval = array(
|
||||
'standard' => lang('username (standard)'),
|
||||
|
Loading…
Reference in New Issue
Block a user