Changeset 5712 for trunk/bp-friends/bp-friends-screens.php
- Timestamp:
- 02/11/2012 04:42:04 AM (14 years ago)
- File:
-
- 1 edited
-
trunk/bp-friends/bp-friends-screens.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-friends/bp-friends-screens.php
r5416 r5712 1 1 <?php 2 2 3 /** 4 * BuddyPress Friends Screen Functions 5 * 3 6 * Screen functions are the controllers of BuddyPress. They will execute when their 4 7 * specific URL is caught. They will first save or manipulate data using business 5 8 * functions, then pass on the user to a template file. 9 * 10 * @package BuddyPress 11 * @subpackage FriendsScreens 6 12 */ 7 13 … … 53 59 54 60 function friends_screen_notification_settings() { 55 global $bp;56 61 57 62 if ( !$send_requests = bp_get_user_meta( bp_displayed_user_id(), 'notification_friends_friendship_request', true ) ) … … 59 64 60 65 if ( !$accept_requests = bp_get_user_meta( bp_displayed_user_id(), 'notification_friends_friendship_accepted', true ) ) 61 $accept_requests = 'yes'; 62 ?> 66 $accept_requests = 'yes'; ?> 63 67 64 68 <table class="notification-settings" id="friends-notification-settings">
Note: See TracChangeset
for help on using the changeset viewer.