Changeset 7732
- Timestamp:
- 01/09/2014 06:50:45 AM (11 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-members/bp-members-notifications.php
r7627 r7732 115 115 * @return boolean Object or array on success, false on fail 116 116 */ 117 function bp_core_get_notifications_for_user( $user_id, $format = 's imple' ) {117 function bp_core_get_notifications_for_user( $user_id, $format = 'string' ) { 118 118 119 119 // Bail if notifications is not active -
trunk/bp-notifications/bp-notifications-functions.php
r7715 r7732 115 115 * 116 116 * @param int $user_id ID of the user whose notification are being fetched. 117 * @param string $format Format of the returned values. 's imple' returns HTML,117 * @param string $format Format of the returned values. 'string' returns HTML, 118 118 * while 'object' returns a structured object for parsing. 119 119 * @return mixed Object or array on success, false on failure. 120 120 */ 121 function bp_notifications_get_notifications_for_user( $user_id, $format = 's imple' ) {121 function bp_notifications_get_notifications_for_user( $user_id, $format = 'string' ) { 122 122 123 123 // Setup local variables
Note: See TracChangeset
for help on using the changeset viewer.