Skip to:
Content

BuddyPress.org

Changeset 847


Ignore:
Timestamp:
01/15/2009 08:29:39 PM (15 years ago)
Author:
apeatling
Message:

Fixed duplicate activity stream recording when a post is updated.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-blogs.php

    r846 r847  
    383383
    384384    /* This is to stop infinate loops with Donncha's sitewide tags plugin */
    385     if ( (int)get_site_option('tags_blog_id') == $blog_id )
     385    if ( (int)get_site_option('tags_blog_id') == (int)$blog_id )
    386386        return false;
    387387       
     
    390390        return false;
    391391
    392     if ( !$is_recorded = BP_Blogs_Post::is_recorded( $post_id, $blog_id ) ) {
     392    if ( !$is_recorded = BP_Blogs_Post::is_recorded( $post_id, $blog_id, $user_id ) ) {
    393393        if ( $post->post_status == 'publish' ) {
    394394           
  • trunk/bp-core.php

    r833 r847  
    8282 * @global $current_action Which is set up in /bp-core/bp-core-catch-uri.php
    8383 * @global $action_variables Which is set up in /bp-core/bp-core-catch-uri.php
    84  * @uses bp_core_get_loggedin_domain() Returns the domain for the logged in user
    85  * @uses bp_core_get_current_domain() Returns the domain for the current user being viewed
    86  * @uses bp_core_get_current_userid() Returns the user id for the current user being viewed
    87  * @uses bp_core_get_loggedin_userid() Returns the user id for the logged in user
     84 * @uses bp_core_get_user_domain() Returns the domain for a user
    8885 */
    8986function bp_core_setup_globals() {
Note: See TracChangeset for help on using the changeset viewer.