Changeset 5547
- Timestamp:
- 10/10/2014 08:27:17 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/admin/converters/SimplePress5.php
r5530 r5547 181 181 ); 182 182 183 // Topic author ip (Stored in postmeta) 184 $this->field_map[] = array( 185 'from_tablename' => 'sfposts', 186 'from_fieldname' => 'poster_ip', 187 'join_tablename' => 'sftopics', 188 'join_type' => 'INNER', 189 'join_expression' => 'USING (topic_id) WHERE sfposts.post_index = 1', 190 'to_type' => 'topic', 191 'to_fieldname' => '_bbp_author_ip' 192 ); 193 183 194 // Topic content. 184 195 // Note: We join the sfposts table because sftopics do not have content. … … 290 301 'from_tablename' => 'sfposts', 291 302 'from_fieldname' => 'forum_id', 303 'from_expression' => 'WHERE post_index != 1', 292 304 'to_type' => 'reply', 293 305 'to_fieldname' => '_bbp_forum_id', 294 'callback_method' => 'callback_ topicid_to_forumid'306 'callback_method' => 'callback_forumid' 295 307 ); 296 308
Note: See TracChangeset
for help on using the changeset viewer.