mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Code cleanup should trigger scan.
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user