Skip to:
Content

BuddyPress.org

Changeset 7180


Ignore:
Timestamp:
06/07/2013 01:31:36 AM (13 years ago)
Author:
boonebgorges
Message:

Adds missing changes from previous changeset. See #5018

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-groups/bp-groups-classes.php

    r7179 r7180  
    12651265                groups_update_groupmeta( $this->group_id, 'total_member_count', ( (int) groups_get_groupmeta( $this->group_id, 'total_member_count' ) - 1 ) );
    12661266
    1267                 $group_count = bp_get_user_meta( $this->user_id, 'total_group_count', true );
    1268                 if ( !empty( $group_count ) )
    1269                         bp_update_user_meta( $this->user_id, 'total_group_count', (int) $group_count - 1 );
    1270 
    12711267                return $this->save();
    12721268        }
     
    12851281
    12861282        function accept_invite() {
    1287 
    12881283                $this->inviter_id    = 0;
    12891284                $this->is_confirmed  = 1;
     
    12921287
    12931288        function accept_request() {
    1294 
    12951289                $this->is_confirmed = 1;
    12961290                $this->date_modified = bp_core_current_time();
Note: See TracChangeset for help on using the changeset viewer.