Closed (fixed)
Project:
Opigno notifications
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Mar 2019 at 15:06 UTC
Updated:
5 Jun 2019 at 16:47 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
pcambraComment #3
pcambraComment #4
pcambraThis one better.
Comment #5
webadpro commentedI'm thinking, shouldn't these messages get cleaned up if a user gets deleted? I just think it leaves unnecessary data in the database which will never be used again. So rather than looking up if a user exists, why not add an event hook to delete the messages?
Comment #6
pcambra@webadpro maybe someone wants to keep them because of archiving reasons? I think this patch should still be valid as part of a defensive strategy of not throwing errors just in case.
I'll add a different issue for dropping notifications on user deletion and let's see what the maintainers think.
Comment #7
pcambra#3043202: Remove notification upon user deletion
Comment #8
pcambraComment #9
webadpro commented@pcambra, yeah I don't see any issues getting this patch in although I'm leaning to this other issue as a better fix. Lets see what Axel or his team will decide.
Comment #10
axelm@pcambra
Thanks, it will be implemented in next release
Comment #11
axelmComment #12
axelmComment #13
axelm