Simplify CronTrigger methods list & its usage
[MAILPOET-2538]
This commit is contained in:
committed by
Jack Kitterhing
parent
69b79b4f6c
commit
b1aed487be
@ -109,8 +109,7 @@ class DaemonHttpRunner {
|
||||
}
|
||||
|
||||
function isCronTriggerMethodWordPress() {
|
||||
$available_methods = CronTrigger::getAvailableMethods();
|
||||
return $this->settings->get(CronTrigger::SETTING_NAME . '.method') === $available_methods['wordpress'];
|
||||
return $this->settings->get(CronTrigger::SETTING_NAME . '.method') === CronTrigger::METHOD_WORDPRESS;
|
||||
}
|
||||
|
||||
function checkWPTriggerExecutionRequirements() {
|
||||
|
Reference in New Issue
Block a user