Changeset 2326 for trunk/bp-blogs.php
- Timestamp:
- 01/18/2010 10:40:25 AM (16 years ago)
- File:
-
- 1 edited
-
trunk/bp-blogs.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-blogs.php
r2302 r2326 299 299 300 300 if ( !isset( $role['subscriber'] ) ) 301 bp_blogs_record_blog( $blog_id, $user->user_id );301 bp_blogs_record_blog( $blog_id, $user->user_id, true ); 302 302 } 303 303 } … … 306 306 } 307 307 308 function bp_blogs_record_blog( $blog_id, $user_id, $no_activity = true ) {308 function bp_blogs_record_blog( $blog_id, $user_id, $no_activity = false ) { 309 309 global $bp; 310 310 … … 326 326 327 327 /* Only record this activity if the blog is public */ 328 if ( (int)$_POST['blog_public'] ||!$no_activity ) {328 if ( (int)$_POST['blog_public'] && !$no_activity ) { 329 329 /* Record this in activity streams */ 330 330 bp_blogs_record_activity( array( … … 530 530 function bp_blogs_add_user_to_blog( $user_id, $role, $blog_id ) { 531 531 if ( $role != 'subscriber' ) { 532 bp_blogs_record_blog( $blog_id, $user_id );532 bp_blogs_record_blog( $blog_id, $user_id, true ); 533 533 } 534 534 }
Note: See TracChangeset
for help on using the changeset viewer.