[buddypress-trac] [BuddyPress] #2540: Additional hooks during posting to group forum [HAS-PATCH]

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Mon Jul 19 23:06:16 UTC 2010

#2540: Additional hooks during posting to group forum [HAS-PATCH]
 Reporter:  boonebgorges  |       Owner:           
     Type:  enhancement   |      Status:  new      
 Priority:  normal        |   Milestone:  1.2.6    
Component:  Groups        |    Keywords:  has-patch

Comment(by DJPaul):

 RE: http://buddypress.org/community/groups/how-to-and-

 groups_join_group happens first and then the patch/bp-custom.php calls
 groups_leave_group after. This feels a bit hackish as you're sending
 another database query (and essentially wasting the first one). However, I
 can't see any negative consequence with this patch as it'd be up to
 individual site admins to add code to call groups_leave_group if they
 wanted to do that.

Ticket URL: <https://trac.buddypress.org/ticket/2540#comment:1>
BuddyPress <http://buddypress.org/>

More information about the buddypress-trac mailing list