Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
01/23/2010 01:57:58 PM (14 years ago)
Author:
apeatling
Message:

Fixes #1667

File:
1 edited

Legend:

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

    r2391 r2411  
    897897        global $wpdb, $bp;
    898898
    899         if ( $user_id != $bp->loggedin_user->id ) {
    900             $user = get_userdata( $user_id );
    901             $user_login = $user->user_login;
    902         }
    903 
    904         if ( is_site_admin( $user_login ) )
    905             return true;
    906 
    907899        if ( !$user_id )
    908900            return false;
Note: See TracChangeset for help on using the changeset viewer.