Add new settings to set inactive subscriber period

[MAILPOET-1970]
This commit is contained in:
Ján Mikláš
2019-04-10 15:23:03 +02:00
committed by M. Shull
parent f6a30dba38
commit 54bc5513c1
2 changed files with 56 additions and 1 deletions

View File

@ -12,6 +12,7 @@ class SettingsController {
const DEFAULT_SENDING_METHOD = 'PHPMail';
const DEFAULT_SENDING_FREQUENCY_EMAILS = 25;
const DEFAULT_SENDING_FREQUENCY_INTERVAL = 5; // in minutes
const DEFAULT_INACTIVE_SUBSCRIBER_DAYS = 180;
private static $loaded = false;
@ -65,6 +66,7 @@ class SettingsController {
'enabled' => false,
],
'display_nps_poll' => true,
'inactive_subscriber_days' => self::DEFAULT_INACTIVE_SUBSCRIBER_DAYS,
];
}
return $this->defaults;