Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
01/19/2010 11:27:58 AM (15 years ago)
Author:
apeatling
Message:

Removing "Group News" setting since the new activity stream updates replaces this with a much more intuitive interface. Fixes #1525

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-groups/bp-groups-classes.php

    r2351 r2352  
    77    var $slug;
    88    var $description;
    9     var $news;
    109    var $status;
    11     var $enable_wire;
    1210    var $enable_forum;
    1311    var $date_created;
     
    1816    var $total_member_count;
    1917    var $random_members;
    20     var $latest_wire_posts;
    2118
    2219    function bp_groups_group( $id = null, $single = false, $get_user_dataset = true ) {
     
    4340            $this->slug = $group->slug;
    4441            $this->description = stripslashes($group->description);
    45             $this->news = stripslashes($group->news);
    4642            $this->status = $group->status;
    47             $this->enable_wire = $group->enable_wire;
    4843            $this->enable_forum = $group->enable_forum;
    4944            $this->date_created = strtotime($group->date_created);
     
    7570        $this->slug = apply_filters( 'groups_group_slug_before_save', $this->slug, $this->id );
    7671        $this->description = apply_filters( 'groups_group_description_before_save', $this->description, $this->id );
    77         $this->news = apply_filters( 'groups_group_news_before_save', $this->news, $this->id );
    78         $this->status = apply_filters( 'groups_group_status_before_save', $this->status, $this->id );
    79         $this->enable_wire = apply_filters( 'groups_group_enable_wire_before_save', $this->enable_wire, $this->id );
     72        $this->status = apply_filters( 'groups_group_status_before_save', $this->status, $this->id );
    8073        $this->enable_forum = apply_filters( 'groups_group_enable_forum_before_save', $this->enable_forum, $this->id );
    8174        $this->date_created = apply_filters( 'groups_group_date_created_before_save', $this->date_created, $this->id );
     
    9083                    slug = %s,
    9184                    description = %s,
    92                     news = %s,
    9385                    status = %s,
    94                     enable_wire = %d,
    9586                    enable_forum = %d,
    9687                    date_created = FROM_UNIXTIME(%d)
     
    10293                    $this->slug,
    10394                    $this->description,
    104                     $this->news,
    10595                    $this->status,
    106                     $this->enable_wire,
    10796                    $this->enable_forum,
    10897                    $this->date_created,
     
    116105                    slug,
    117106                    description,
    118                     news,
    119107                    status,
    120                     enable_wire,
    121108                    enable_forum,
    122109                    date_created
    123110                ) VALUES (
    124                     %d, %s, %s, %s, %s, %s, %d, %d, FROM_UNIXTIME(%d)
     111                    %d, %s, %s, %s, %s, %d, FROM_UNIXTIME(%d)
    125112                )",
    126113                    $this->creator_id,
     
    128115                    $this->slug,
    129116                    $this->description,
    130                     $this->news,
    131117                    $this->status,
    132                     $this->enable_wire,
    133118                    $this->enable_forum,
    134119                    $this->date_created
Note: See TracChangeset for help on using the changeset viewer.