Skip to:
Content

BuddyPress.org

Changeset 2409 for trunk/bp-xprofile.php


Ignore:
Timestamp:
01/23/2010 01:48:47 PM (17 years ago)
Author:
apeatling
Message:

Fixes #1671

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-xprofile.php

    r2400 r2409  
    497497        extract( $r, EXTR_SKIP );
    498498
    499         /* Check for an existing entry and update if one exists. */
    500         $id = bp_activity_get_activity_id( array(
    501                 'user_id' => $user_id,
    502                 'component' => $component,
    503                 'type' => $type,
    504                 'item_id' => $item_id,
    505                 'secondary_item_id' => $secondary_item_id
    506         ) );
    507 
    508         return bp_activity_add( array( 'id' => $id, 'user_id' => $user_id, 'action' => $action, 'content' => $content, 'primary_link' => $primary_link, 'component' => $component, 'type' => $type, 'item_id' => $item_id, 'secondary_item_id' => $secondary_item_id, 'recorded_time' => $recorded_time, 'hide_sitewide' => $hide_sitewide ) );
     499        return bp_activity_add( array( 'user_id' => $user_id, 'action' => $action, 'content' => $content, 'primary_link' => $primary_link, 'component' => $component, 'type' => $type, 'item_id' => $item_id, 'secondary_item_id' => $secondary_item_id, 'recorded_time' => $recorded_time, 'hide_sitewide' => $hide_sitewide ) );
    509500}
    510501
Note: See TracChangeset for help on using the changeset viewer.