Changeset 2352 for trunk/bp-groups/bp-groups-classes.php
- Timestamp:
- 01/19/2010 11:27:58 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-groups/bp-groups-classes.php
r2351 r2352 7 7 var $slug; 8 8 var $description; 9 var $news;10 9 var $status; 11 var $enable_wire;12 10 var $enable_forum; 13 11 var $date_created; … … 18 16 var $total_member_count; 19 17 var $random_members; 20 var $latest_wire_posts;21 18 22 19 function bp_groups_group( $id = null, $single = false, $get_user_dataset = true ) { … … 43 40 $this->slug = $group->slug; 44 41 $this->description = stripslashes($group->description); 45 $this->news = stripslashes($group->news);46 42 $this->status = $group->status; 47 $this->enable_wire = $group->enable_wire;48 43 $this->enable_forum = $group->enable_forum; 49 44 $this->date_created = strtotime($group->date_created); … … 75 70 $this->slug = apply_filters( 'groups_group_slug_before_save', $this->slug, $this->id ); 76 71 $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 ); 80 73 $this->enable_forum = apply_filters( 'groups_group_enable_forum_before_save', $this->enable_forum, $this->id ); 81 74 $this->date_created = apply_filters( 'groups_group_date_created_before_save', $this->date_created, $this->id ); … … 90 83 slug = %s, 91 84 description = %s, 92 news = %s,93 85 status = %s, 94 enable_wire = %d,95 86 enable_forum = %d, 96 87 date_created = FROM_UNIXTIME(%d) … … 102 93 $this->slug, 103 94 $this->description, 104 $this->news,105 95 $this->status, 106 $this->enable_wire,107 96 $this->enable_forum, 108 97 $this->date_created, … … 116 105 slug, 117 106 description, 118 news,119 107 status, 120 enable_wire,121 108 enable_forum, 122 109 date_created 123 110 ) VALUES ( 124 %d, %s, %s, %s, %s, % s, %d, %d, FROM_UNIXTIME(%d)111 %d, %s, %s, %s, %s, %d, FROM_UNIXTIME(%d) 125 112 )", 126 113 $this->creator_id, … … 128 115 $this->slug, 129 116 $this->description, 130 $this->news,131 117 $this->status, 132 $this->enable_wire,133 118 $this->enable_forum, 134 119 $this->date_created
Note: See TracChangeset
for help on using the changeset viewer.