mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-08-04 10:14:44 +02:00
Delete the file associated with an attachment after an attachment is delted or changed.
This commit is contained in:
parent
87527dfdc6
commit
6b87823d5e
5 changed files with 135 additions and 17 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue