This commit is contained in:
Yuri Kuznetsov
2021-05-19 15:55:38 +03:00
parent c054712828
commit da2e2dbf20
3 changed files with 4 additions and 4 deletions
@@ -134,7 +134,7 @@ return [
'activitiesEntityList' => ['Meeting', 'Call'],
'historyEntityList' => ['Meeting', 'Call', 'Email'],
'busyRangesEntityList' => ['Meeting', 'Call'],
'emailAutoReplaySuppressPeriod' => '3 hours',
'emailAutoReplySuppressPeriod' => '3 hours',
'cleanupJobPeriod' => '1 month',
'cleanupActionHistoryPeriod' => '15 days',
'cleanupAuthTokenPeriod' => '1 month',
@@ -170,7 +170,7 @@ return [
'ldapPortalUserRolesIds',
'ldapPortalUserRolesNames',
'cleanupJobPeriod',
'emailAutoReplaySuppressPeriod',
'emailAutoReplySuppressPeriod',
'cleanupActionHistoryPeriod',
'adminNotifications',
'adminNotificationsNewVersion',
+2 -2
View File
@@ -79,7 +79,7 @@ class InboundEmail extends RecordService implements
protected $parserClassName = MailMimeParser::class;
protected $emailAutoReplaySuppressPeriod = '3 hours';
protected $emailAutoReplySuppressPeriod = '3 hours';
const PORTION_LIMIT = 20;
@@ -807,7 +807,7 @@ class InboundEmail extends RecordService implements
$d = new DateTime();
$d->modify('-' . $this->config->get('emailAutoReplaySuppressPeriod', $this->emailAutoReplaySuppressPeriod));
$d->modify('-' . $this->config->get('emailAutoReplySuppressPeriod', $this->emailAutoReplySuppressPeriod));
$threshold = $d->format('Y-m-d H:i:s');