mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-12-12 01:42:32 +00:00
Code cleanup should trigger scan.
This commit is contained in:
@@ -37,6 +37,6 @@ class BillDestroyService
|
||||
*/
|
||||
public function destroy(Bill $bill): void
|
||||
{
|
||||
$bill->delete();
|
||||
$bill->delete();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -39,7 +39,7 @@ class BudgetDestroyService
|
||||
*/
|
||||
public function destroy(Budget $budget): void
|
||||
{
|
||||
$budget->delete();
|
||||
$budget->delete();
|
||||
|
||||
// also delete auto budget:
|
||||
foreach ($budget->autoBudgets()->get() as $autoBudget) {
|
||||
|
||||
@@ -39,7 +39,7 @@ class CategoryDestroyService
|
||||
*/
|
||||
public function destroy(Category $category): void
|
||||
{
|
||||
$category->delete();
|
||||
$category->delete();
|
||||
|
||||
// also delete all relations between categories and transaction journals:
|
||||
DB::table('category_transaction_journal')->where('category_id', (int)$category->id)->delete();
|
||||
|
||||
@@ -38,6 +38,6 @@ class CurrencyDestroyService
|
||||
*/
|
||||
public function destroy(TransactionCurrency $currency): void
|
||||
{
|
||||
$currency->delete();
|
||||
$currency->delete();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user