Changeset 9026 for trunk/src/bp-groups/bp-groups-activity.php
- Timestamp:
- 09/17/2014 12:39:27 AM (11 years ago)
- File:
-
- 1 edited
-
trunk/src/bp-groups/bp-groups-activity.php (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-groups/bp-groups-activity.php
r8832 r9026 16 16 /** 17 17 * Register activity actions for the Groups component. 18 * 19 * @return bool|null False on failure. 18 20 */ 19 21 function groups_register_activity_actions() { … … 240 242 * @param int $group_id Optional. The ID of the group whose last_activity is 241 243 * being updated. Default: the current group's ID. 244 * @return bool|null False on failure. 242 245 */ 243 246 function groups_update_last_activity( $group_id = 0 ) { … … 262 265 * 263 266 * @since BuddyPress (1.9.0) 264 * @param int $user_id 265 * @param int $group_id 267 * 268 * @param int $user_id ID of the user joining the group. 269 * @param int $group_id ID of the group. 270 * @return bool|null False on failure. 266 271 */ 267 272 function bp_groups_membership_accepted_add_activity( $user_id, $group_id ) { … … 286 291 287 292 /** 288 * Delete all group activity from activity streams293 * Delete all activity items related to a specific group. 289 294 * 290 295 * @since BuddyPress (1.9.0) 296 * 297 * @param int $group_id ID of the group. 291 298 */ 292 299 function bp_groups_delete_group_delete_all_activity( $group_id ) { … … 301 308 302 309 /** 303 * Delete group member activity if they leave or are removed within 5 minutes of 304 * membership modification. 310 * Delete group member activity if they leave or are removed within 5 minutes of membership modification. 305 311 * 306 312 * If the user joined this group less than five minutes ago, remove the … … 309 315 * 310 316 * @since BuddyPress (1.9.0) 317 * 318 * @param int $group_id ID of the group. 319 * @param int $user_id ID of the user leaving the group. 311 320 */ 312 321 function bp_groups_leave_group_delete_recent_activity( $group_id, $user_id ) {
Note: See TracChangeset
for help on using the changeset viewer.