Delete the file associated with an attachment after an attachment is delted or changed.

This commit is contained in:
Jan Böhmer 2019-08-27 22:24:56 +02:00
parent 87527dfdc6
commit 6b87823d5e
5 changed files with 135 additions and 17 deletions

View file

@ -42,6 +42,11 @@ services:
tags:
- { name: doctrine.orm.entity_listener }
attachment_delete_listener:
class: App\EntityListeners\AttachmentDeleteListener
tags:
- name: doctrine.orm.entity_listener
App\Command\UpdateExchangeRatesCommand:
arguments: