Remove unneeded relation
[MAILPOET-2439]
This commit is contained in:
committed by
Jack Kitterhing
parent
6b338a14fc
commit
4c960a1a44
@ -47,16 +47,6 @@ class ScheduledTask extends Model {
|
||||
);
|
||||
}
|
||||
|
||||
/** @return StatsNotification */
|
||||
function statsNotification() {
|
||||
$model = $this->hasOne(
|
||||
StatsNotification::class,
|
||||
'task_id',
|
||||
'id'
|
||||
);
|
||||
return $model;
|
||||
}
|
||||
|
||||
function pause() {
|
||||
$this->set('status', self::STATUS_PAUSED);
|
||||
$this->save();
|
||||
|
Reference in New Issue
Block a user