mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-18 10:16:49 +00:00
Various code fixes.
This commit is contained in:
@@ -57,7 +57,7 @@ class AttachmentRepository implements AttachmentRepositoryInterface
|
||||
$path = $helper->getAttachmentLocation($attachment);
|
||||
try {
|
||||
Storage::disk('upload')->delete($path);
|
||||
} catch (Exception $e) {
|
||||
} catch (Exception $e) {
|
||||
// @ignoreException
|
||||
}
|
||||
$attachment->delete();
|
||||
@@ -201,7 +201,7 @@ class AttachmentRepository implements AttachmentRepositoryInterface
|
||||
if (null !== $dbNote) {
|
||||
try {
|
||||
$dbNote->delete();
|
||||
} catch (Exception $e) {
|
||||
} catch (Exception $e) {
|
||||
// @ignoreException
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user