Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Remove statistics.
James Cole7fac1e861403
diff --git a/app/Listeners/Model/TransactionGroup/SupportsGroupProcessingTrait.php b/app/Listeners/Model/TransactionGroup/SupportsGroupProcessingTrait.phpindex d6771afc92..750439c323 100644--- a/app/Listeners/Model/TransactionGroup/SupportsGroupProcessingTrait.php+++ b/app/Listeners/Model/TransactionGroup/SupportsGroupProcessingTrait.php@@ -104,7 +104,9 @@ trait SupportsGroupProcessingTrait$repository->deleteStatisticsForType(Category::class, $objects->categories, $dates);$repository->deleteStatisticsForType(Tag::class, $objects->tags, $dates);- // remove if no stuff present:+ // remove generic statistics:+ $repository->deleteStatisticsForPrefix('all_', $dates);+// remove for no tag, no cat, etc.if (0 === $objects->budgets->count()) {Log::debug('No budgets, delete "no_category" stats.');