Fix undefined method
This commit is contained in:
@ -67,7 +67,7 @@ class Scheduler {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private function isTaskScheduled($newsletter_id) {
|
private function isTaskScheduled($newsletter_id) {
|
||||||
$existing = ScheduledTask::table_alias('tasks')
|
$existing = ScheduledTask::tableAlias('tasks')
|
||||||
->join(StatsNotification::$_table, 'tasks.id = notification.task_id', 'notification')
|
->join(StatsNotification::$_table, 'tasks.id = notification.task_id', 'notification')
|
||||||
->where('tasks.type', Worker::TASK_TYPE)
|
->where('tasks.type', Worker::TASK_TYPE)
|
||||||
->where('notification.newsletter_id', $newsletter_id)
|
->where('notification.newsletter_id', $newsletter_id)
|
||||||
|
@ -62,6 +62,7 @@ if(!defined('ABSPATH')) exit;
|
|||||||
* @method $this whereIn($column_name, $values)
|
* @method $this whereIn($column_name, $values)
|
||||||
* @method static $this whereIn($column_name, $values)
|
* @method static $this whereIn($column_name, $values)
|
||||||
* @method $this whereNotIn($column_name, $values)
|
* @method $this whereNotIn($column_name, $values)
|
||||||
|
* @method static $this whereNotIn($column_name, $values)
|
||||||
* @method $this whereNull($column_name)
|
* @method $this whereNull($column_name)
|
||||||
* @method static $this whereNull($column_name)
|
* @method static $this whereNull($column_name)
|
||||||
* @method $this whereNotNull($column_name)
|
* @method $this whereNotNull($column_name)
|
||||||
|
Reference in New Issue
Block a user