Add a hook which will be invoked just before deleting a mail. This can be useful in case attachments are stored in the file system instead of the table in the database. Before deletion of the mails, you should be able to clean up the files of attachments which are not used any longer.

Comments

sjerdo created an issue. See original summary.

sjerdo’s picture

Status: Active » Needs review
StatusFileSize
new1.2 KB

Added a patch which implements this hook.

Anonymous’s picture

Status: Needs review » Reviewed & tested by the community

Looks good.

  • barthje committed 85f96f9 on 7.x-1.x authored by sjerdo
    Issue #2937698 by sjerdo: Add a hook which will be invoked on deleting a...
barthje’s picture

Status: Reviewed & tested by the community » Fixed

Thanks for the patch!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.