Code cleanup should trigger scan.

This commit is contained in:
James Cole
2022-12-30 20:38:54 +01:00
parent 333c348117
commit 742c84269b
12 changed files with 19 additions and 23 deletions

View File

@@ -117,7 +117,6 @@ class RecurrenceController extends Controller
if ('times' !== $endsAt && 'until_date' !== $endsAt) { if ('times' !== $endsAt && 'until_date' !== $endsAt) {
// 'forever' // 'forever'
$occurrences = $this->recurring->getOccurrencesInRange($repetition, $actualStart, $actualEnd); $occurrences = $this->recurring->getOccurrencesInRange($repetition, $actualStart, $actualEnd);
} }
/** @var Carbon $current */ /** @var Carbon $current */

View File

@@ -374,7 +374,6 @@ trait RecurringTransactionTrait
$transaction->recurrenceTransactionMeta()->delete(); $transaction->recurrenceTransactionMeta()->delete();
$transaction->delete(); $transaction->delete();
} }
} }
} }

View File

@@ -153,9 +153,7 @@ class CategoryUpdateService
if ('' === $note) { if ('' === $note) {
$dbNote = $category->notes()->first(); $dbNote = $category->notes()->first();
if (null !== $dbNote) { if (null !== $dbNote) {
$dbNote->delete(); $dbNote->delete();
} }
return; return;