Skip to:
Content

BuddyPress.org

Changeset 3271


Ignore:
Timestamp:
09/17/2010 06:10:56 PM (10 years ago)
Author:
johnjamesjacoby
Message:

Fixes #2637 props Paul Gibbs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.2/bp-groups.php

    r3257 r3271  
    15491549
    15501550    if ( !$group_id ) {
    1551         /* If this is a new group, set up the creator as the first member and admin */
     1551        // If this is a new group, set up the creator as the first member and admin
    15521552        $member = new BP_Groups_Member;
    15531553        $member->group_id = $group->id;
     
    15591559
    15601560        $member->save();
     1561        do_action( 'groups_create_group', $group->id, $member, $group );
     1562
     1563    } else {
     1564        do_action( 'groups_update_group', $group->id, $group );
    15611565    }
    15621566
Note: See TracChangeset for help on using the changeset viewer.