Skip to:
Content

BuddyPress.org

Changeset 864 for trunk/bp-activity.php


Ignore:
Timestamp:
01/18/2009 01:48:57 AM (16 years ago)
Author:
apeatling
Message:

Fixes #295

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-activity.php

    r849 r864  
    33
    44define ( 'BP_ACTIVITY_IS_INSTALLED', 1 );
    5 define ( 'BP_ACTIVITY_VERSION', '1.0b1' );
     5define ( 'BP_ACTIVITY_VERSION', '1.0b1.1' );
    66
    77/* How long before activity items in streams are re-cached? */
     
    3838                component_action varchar(75) NOT NULL,
    3939                date_recorded datetime NOT NULL,
    40                 is_private tinyint(1) NOT NULL,
     40                is_private tinyint(1) NOT NULL DEFAULT 0,
     41                no_sitewide_cache tinyint(1) NOT NULL DEFAULT 0,
    4142                KEY item_id (item_id),
    4243                KEY user_id (user_id),
     
    5556                date_cached datetime NOT NULL,
    5657                date_recorded datetime NOT NULL,
    57                 is_private tinyint(1) NOT NULL,
     58                is_private tinyint(1) NOT NULL DEFAULT 0,
    5859                KEY date_cached (date_cached),
    5960                KEY date_recorded (date_recorded),
     
    240241        $activity->date_recorded = $recorded_time;
    241242        $activity->is_private = $is_private;
    242        
     243
    243244        // We don't want to record this on the sitewide stream, otherwise we will get duplicates.
    244         $activity->no_sitewide_recording = true;
     245        $activity->no_sitewide_cache = true;
    245246
    246247        $secondary_user_save = $activity->save();
Note: See TracChangeset for help on using the changeset viewer.