Add linux cron option to settings

[MAILPOET-1538]
This commit is contained in:
Pavel Dohnal
2018-09-27 15:08:56 +02:00
parent 486c0ce4ee
commit fcd8509cef
4 changed files with 42 additions and 1 deletions

View File

@@ -10,6 +10,7 @@ class CronTrigger {
public static $available_methods = array(
'mailpoet' => 'MailPoet',
'wordpress' => 'WordPress',
'linux_cron' => 'Linux Cron',
'none' => 'Disabled'
);
const DEFAULT_METHOD = 'WordPress';
@@ -37,4 +38,4 @@ class CronTrigger {
static function getCurrentMethod() {
return Setting::getValue(self::SETTING_NAME . '.method');
}
}
}