I need to delete items of a user (stored in a custome table) when a user is being deleted in the ACP.
Is there a hook for this or what is the correct way to do this?
I need to delete items of a user (stored in a custome table) when a user is being deleted in the ACP.
Is there a hook for this or what is the correct way to do this?
Isn't this irrelevant? It is a custom table with extra data for the user.
When user 123 is beeing deleted in the ACP, i need to delete those items where user_id = 123 in my custom table too.
Isn't this irrelevant? It is a custom table with extra data for the user.
When user 123 is beeing deleted in the ACP, i need to delete those items where user_id = 123 in my custom table too.
I need to delete items of a user (stored in a custome table) when a user is being deleted in the ACP.
Is there a hook for this or what is the correct way to do this?
Hey @Chris D , I have an additional question:
I have implemented the Like-Model for my new Content-type.
Adding a like is easy - "incrementLikeCounter" from XenForo_LikeHandler_Abstract.
But how do I decrement the counter when a user is being deleted?