mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Various code cleanup.
This commit is contained in:
@@ -139,9 +139,7 @@ class CategoryUpdateService
|
||||
}
|
||||
if ('' === $note) {
|
||||
$dbNote = $category->notes()->first();
|
||||
if (null !== $dbNote) {
|
||||
$dbNote->delete();
|
||||
}
|
||||
$dbNote?->delete();
|
||||
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user