This commit is contained in:
James Cole 2019-10-21 18:22:47 +02:00
parent 516ef79130
commit 004d4a2d22
No known key found for this signature in database
GPG Key ID: C16961E655E74B5E

View File

@ -134,6 +134,10 @@ class CreateRecurringTransactions implements ShouldQueue
$this->repository->setUser($recurrence->user);
$this->journalRepository->setUser($recurrence->user);
$this->groupRepository->setUser($recurrence->user);
// clear cache for user
app('preferences')->setForUser($recurrence->user, 'lastActivity', microtime());
Log::debug(sprintf('Now at recurrence #%d', $recurrence->id));
$created = $this->handleRepetitions($recurrence);
Log::debug(sprintf('Done with recurrence #%d', $recurrence->id));