mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-20 16:40:10 +00:00
Various code cleanup
This commit is contained in:
@@ -81,11 +81,7 @@ class MigrateJournalNotes extends Command
|
||||
$note->text = $meta->data;
|
||||
$note->save();
|
||||
Log::debug(sprintf('Migrated meta note #%d to Note #%d', $meta->id, $note->id));
|
||||
try {
|
||||
$meta->delete();
|
||||
} catch (QueryException $e) {
|
||||
Log::error(sprintf('Could not delete old meta entry #%d: %s', $meta->id, $e->getMessage()));
|
||||
}
|
||||
$meta->delete();
|
||||
|
||||
$count++;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user