Skip to:
Content

BuddyPress.org

Changeset 2925 for trunk/bp-blogs.php


Ignore:
Timestamp:
04/15/2010 11:59:40 AM (14 years ago)
Author:
apeatling
Message:

Merging 1.2 branch with trunk.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-blogs.php

    r2863 r2925  
    340340        bp_blogs_remove_post( $post_id, $blog_id );
    341341
     342    bp_blogs_update_blogmeta( $blog_id, 'last_activity', gmdate( "Y-m-d H:i:s" ) );
     343
    342344    do_action( 'bp_blogs_new_blog_post', $post_id, $post, $user_id );
    343345}
     
    348350
    349351    $comment = get_comment($comment_id);
     352
     353    if ( !$is_approved )
     354        return false;
     355
    350356    $comment->post = get_post( $comment->comment_post_ID );
    351357
     
    380386    }
    381387
     388    bp_blogs_update_blogmeta( $blog_id, 'last_activity', gmdate( "Y-m-d H:i:s" ) );
     389
    382390    return $recorded_comment;
    383391}
Note: See TracChangeset for help on using the changeset viewer.