Forum OpenACS Improvement Proposals (TIPs): TIP #112: Callback for relation adding

Request notifications

Following up on http://openacs.org/forums/message-view?message%5fid=1059219 I would propose to add a callback to relation_add which is triggered after the relations has been created in the database (so it has to be run through successfully) and will have the following parameters:

object_id_one, object_id_two, rel_type and member_state.

While working on this I will also make sure that the code for adding a user to a .LRN community calls relation_add or any procedure that calls relation_add directly.