Skip to:
Content

BuddyPress.org

Changeset 5878


Ignore:
Timestamp:
03/04/2012 11:34:22 AM (13 years ago)
Author:
djpaul
Message:

Fix group member demotion. Fixes #4042, props davidtcarson

File:
1 edited

Legend:

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

    r5871 r5878  
    716716function groups_demote_member( $user_id, $group_id ) {
    717717
    718     if ( ! bp_is_item_admin() || ! bp_is_item_mod() )
     718    if ( ! bp_is_item_admin() )
    719719        return false;
    720720
Note: See TracChangeset for help on using the changeset viewer.