cakephp-upload icon indicating copy to clipboard operation
cakephp-upload copied to clipboard

afterDeleteCommit support

Open tai-sho opened this issue 6 years ago • 1 comments

When deleting records in a transaction, this plugin seems to delete images using the afterDelete method. If you roll back a transaction, there may be situations where you have records but only the images are gone. Is there a way to use afterDeleteCommit instead of afterDelete used in this plugins?

tai-sho avatar Mar 27 '19 06:03 tai-sho

Sure. pull requests welcome :)

josegonzalez avatar Mar 27 '19 06:03 josegonzalez