mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-01-07 06:31:22 +00:00
Organise object groups
This commit is contained in:
@@ -181,6 +181,7 @@ trait ModifiesPiggyBanks
|
||||
*/
|
||||
public function destroy(PiggyBank $piggyBank): bool
|
||||
{
|
||||
$piggyBank->objectGroups()->sync([]);
|
||||
$piggyBank->delete();
|
||||
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user