mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-02 12:15:55 +00:00
Clean up some code.
This commit is contained in:
@@ -282,10 +282,8 @@ class CreateRecurringTransactions implements ShouldQueue
|
||||
*/
|
||||
private function handleOccurrence(Recurrence $recurrence, RecurrenceRepetition $repetition, Carbon $date): ?TransactionGroup
|
||||
{
|
||||
#Log::debug(sprintf('Now at date %s.', $date->format('Y-m-d')));
|
||||
$date->startOfDay();
|
||||
if ($date->ne($this->date)) {
|
||||
#Log::debug(sprintf('%s is not today (%s)', $date->format('Y-m-d'), $this->date->format('Y-m-d')));
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user