cleanedup schedule method to use guard
This commit is contained in:
parent
04e32790ba
commit
5806b071d8
|
|
@ -271,9 +271,6 @@ public function schedule()
|
|||
if ($this->shouldSchedule()) {
|
||||
$this->scheduleReport();
|
||||
}
|
||||
$this->mail_frequency = 'weekly';
|
||||
$this->mail_day = 'friday';
|
||||
$this->scheduleReport();
|
||||
}
|
||||
|
||||
public function shouldSchedule(): bool
|
||||
|
|
|
|||
Loading…
Reference in a new issue