Changeset 3008 for branches/1.2/bp-core.php
- Timestamp:
- 05/17/2010 10:09:59 AM (16 years ago)
- File:
-
- 1 edited
-
branches/1.2/bp-core.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/1.2/bp-core.php
r2982 r3008 166 166 generic variable so it can be used by other components. It can also be modified, so when viewing a group 167 167 'is_item_admin' would be 1 if they are a group admin, 0 if they are not. */ 168 $bp->is_item_admin = bp_ is_my_profile();168 $bp->is_item_admin = bp_user_has_access(); 169 169 170 170 /* Used to determine if the logged in user is a moderator for the current content. */ … … 683 683 * looking at their own profile, don't create the nav item. 684 684 */ 685 if ( !$show_for_displayed_user && !bp_ is_my_profile() )685 if ( !$show_for_displayed_user && !bp_user_has_access() ) 686 686 return false; 687 687
Note: See TracChangeset
for help on using the changeset viewer.