Skip to:
Content

BuddyPress.org

Changeset 2128 for trunk/bp-groups.php


Ignore:
Timestamp:
11/25/2009 08:38:56 PM (12 years ago)
Author:
apeatling
Message:

Activity stream commenting updates

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-groups.php

    r2114 r2128  
    14701470        return false;
    14711471
    1472     /* If the group is not public, no recording of activity please. */
    1473     if ( 'public' != $bp->groups->current_group->status )
    1474         return false;
     1472    /* If the group is not public, hide the activity sitewide, or basically when not looking at the group feed. */
     1473    if ( 'public' == $bp->groups->current_group->status )
     1474        $hide_sitewide = false;
     1475    else
     1476        $hide_sitewide = true;
    14751477
    14761478    $defaults = array(
     
    14831485        'secondary_item_id' => false,
    14841486        'recorded_time' => time(),
    1485         'hide_sitewide' => false
     1487        'hide_sitewide' => $hide_sitewide
    14861488    );
    14871489
Note: See TracChangeset for help on using the changeset viewer.