Skip to:
Content

BuddyPress.org

Ticket #6462: 6462.01.patch

File 6462.01.patch, 480 bytes (added by imath, 10 years ago)
  • src/bp-groups/bp-groups-functions.php

    diff --git src/bp-groups/bp-groups-functions.php src/bp-groups/bp-groups-functions.php
    index 3a02bed..1a17a5e 100644
    function groups_invite_user( $args = '' ) { 
    10811081 */
    10821082function groups_uninvite_user( $user_id, $group_id ) {
    10831083
    1084         if ( ! BP_Groups_Member::delete_invite( $user_id, $group_id ) )
     1084        if ( ! BP_Groups_Member::delete( $user_id, $group_id ) )
    10851085                return false;
    10861086
    10871087        /**