forked from extern/egroupware
fall back to default timeout (=20) on felamimail_bo->openConnection, as a timeout set to 5 seemed to trigger too many unwanted timeouts
This commit is contained in:
parent
cd68b52cfb
commit
4dc0f22c81
@ -165,8 +165,9 @@ class notifications_ajax {
|
||||
$bufferFMailSession = $bofelamimail->sessionData;
|
||||
if( !$bofelamimail->openConnection($activeProfile) ) {
|
||||
// TODO: This is ugly. Log a bit nicer!
|
||||
error_log(__METHOD__.__LINE__.' # '.$bofelamimail->getErrorMessage());
|
||||
$error = $bofelamimail->getErrorMessage();
|
||||
error_log(__METHOD__.__LINE__.' # '.self::_appname.' (user: '.$this->recipient->account_lid.'): cannot connect to mailbox with Profile:'.$activeProfile.'. Please check your prefs!');
|
||||
if (!empty($error)) error_log(__METHOD__.__LINE__.' # '.$error);
|
||||
error_log(__METHOD__.__LINE__.' # Instance='.$GLOBALS['egw_info']['user']['domain'].', User='.$GLOBALS['egw_info']['user']['account_lid']);
|
||||
return false; // cannot connect to mailbox
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user