Changeset 4488 for trunk/bp-core/bp-core-loader.php
- Timestamp:
- 06/12/2011 12:04:50 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-loader.php
r4378 r4488 161 161 $bp->core->table_name_notifications = $bp->table_prefix . 'bp_notifications'; 162 162 163 /** 164 * Used to determine if user has admin rights on current content. If the 165 * logged in user is viewing their own profile and wants to delete 166 * something, is_item_admin is used. This is a generic variable so it 167 * can be used by other components. It can also be modified, so when 168 * viewing a group 'is_item_admin' would be 'true' if they are a group 169 * admin, and 'false' if they are not. 170 */ 171 bp_update_is_item_admin( bp_user_has_access(), 'core' ); 172 173 // Is the logged in user is a mod for the current item? 174 bp_update_is_item_mod( false, 'core' ); 175 163 176 do_action( 'bp_core_setup_globals' ); 164 177 }
Note: See TracChangeset
for help on using the changeset viewer.