I have created a module which adds features to event, but doesn't add nodes of its own. I have added a table which includes the node id. When a node of type event is deleted, I want to delete all rows in the new table with the corresponding node id. How do I do this?

Rows should also be deleted when a user is deleted.

Comments

nereocystis’s picture

I finally found signup_nodeapi, with $op set to "delete", which handles this problem.