Delete from user_relationship_invites when invitation is cancelled

scottgifford - May 28, 2009 - 05:29
Project:User Relationships
Version:5.x-2.9
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

This small patch handles a cancelled invitation by deleting the corresponding entry from user_relationship_invites.

AttachmentSize
user_relationships_cancel_delete.patch661 bytes

#1

alex.k - October 25, 2009 - 18:10
Status:needs review» fixed

Committed in http://drupal.org/cvs?commit=279800, with a tweak. $args['code'] is not available, neither in invites 5.x-1.13 nor 1.x-dev. The patch gets the code from the url. Thanks for contributing.

#2

scottgifford - November 7, 2009 - 15:34

Thanks! Must have been another local change that made $args['code'] work for me.

#3

System Message - November 21, 2009 - 15:40
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.