diff options
author | Julius Härtl <jus@bitgrid.net> | 2018-06-05 17:59:05 +0300 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2018-06-06 14:15:52 +0300 |
commit | 5b0ce806a3679b34ae3a6f8e6ae32a0b513a4ca9 (patch) | |
tree | bdda614353703033cfa26bfd9b8687b2579be3e0 /apps/theming/lib/ImageManager.php | |
parent | d132527aa9c4baad344b11adef3a6f4a46cde3ab (diff) |
Minor fixes and cleanup
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'apps/theming/lib/ImageManager.php')
-rw-r--r-- | apps/theming/lib/ImageManager.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/theming/lib/ImageManager.php b/apps/theming/lib/ImageManager.php index 77afbbe8a87..5d7c11b6e4c 100644 --- a/apps/theming/lib/ImageManager.php +++ b/apps/theming/lib/ImageManager.php @@ -181,6 +181,7 @@ class ImageManager { } public function delete(string $key) { + /* ignore exceptions, since we don't want to fail hard if something goes wrong during cleanup */ try { $file = $this->appData->getFolder('images')->getFile($key); $file->delete(); |