Skip to:
Content

bbPress.org


Ignore:
Timestamp:
09/19/2014 11:34:18 AM (10 years ago)
Author:
netweb
Message:

Importer templates updates to coincide with r5525 changeset to differentiating original forum, topic and reply meta ID's from new bbPress post meta keys.

  • Renames _bbp_forum_id to _bbp_old_forum_id
  • Renames _bbp_topic_id to _bbp_old_topic_id
  • Renames _bbp_post_id to _bbp_old_reply_id

See #2650

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/includes/admin/converters/SMF.php

    r5516 r5526  
    2626        /** Forum Section ******************************************************/
    2727
    28         // Forum id (Stored in postmeta)
     28        // Old forum id (Stored in postmeta)
    2929        $this->field_map[] = array(
    3030            'from_tablename' => 'boards',
    3131            'from_fieldname' => 'id_board',
    3232            'to_type'        => 'forum',
    33             'to_fieldname'   => '_bbp_forum_id'
     33            'to_fieldname'   => '_bbp_old_forum_id'
    3434        );
    3535
     
    146146        /** Topic Section ******************************************************/
    147147
    148         // Topic id (Stored in postmeta)
     148        // Old topic id (Stored in postmeta)
    149149        $this->field_map[] = array(
    150150            'from_tablename' => 'topics',
    151151            'from_fieldname' => 'id_topic',
    152152            'to_type'        => 'topic',
    153             'to_fieldname'   => '_bbp_topic_id'
     153            'to_fieldname'   => '_bbp_old_topic_id'
    154154        );
    155155
     
    324324        /** Reply Section ******************************************************/
    325325
    326         // Reply id (Stored in postmeta)
     326        // Old reply id (Stored in postmeta)
    327327        $this->field_map[] = array(
    328328            'from_tablename'  => 'messages',
    329329            'from_fieldname'  => 'id_msg',
    330330            'to_type'         => 'reply',
    331             'to_fieldname'    => '_bbp_post_id'
     331            'to_fieldname'    => '_bbp_old_reply_id'
    332332        );
    333333
Note: See TracChangeset for help on using the changeset viewer.