mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +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