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/Example.php

    r5520 r5526  
    2828        // Setup table joins for the forum section at the base of this section
    2929
    30         // Forum id (Stored in postmeta)
     30        // Old forum id (Stored in postmeta)
    3131        $this->field_map[] = array(
    3232            'from_tablename'  => 'forums_table',
    3333            'from_fieldname'  => 'the_forum_id',
    3434            'to_type'         => 'forum',
    35             'to_fieldname'    => '_bbp_forum_id'
     35            'to_fieldname'    => '_bbp_old_forum_id'
    3636        );
    3737
     
    165165        // Setup table joins for the topic section at the base of this section
    166166
    167         // Topic id (Stored in postmeta)
     167        // Old topic id (Stored in postmeta)
    168168        $this->field_map[] = array(
    169169            'from_tablename'  => 'topics_table',
    170170            'from_fieldname'  => 'the_topic_id',
    171171            'to_type'         => 'topic',
    172             'to_fieldname'    => '_bbp_topic_id'
     172            'to_fieldname'    => '_bbp_old_topic_id'
    173173        );
    174174
     
    378378        // Setup table joins for the reply section at the base of this section
    379379
    380         // Reply id (Stored in postmeta)
     380        // Old reply id (Stored in postmeta)
    381381        $this->field_map[] = array(
    382382            'from_tablename'  => 'replies_table',
    383383            'from_fieldname'  => 'the_reply_id',
    384384            'to_type'         => 'reply',
    385             'to_fieldname'    => '_bbp_post_id'
     385            'to_fieldname'    => '_bbp_old_reply_id'
    386386        );
    387387
Note: See TracChangeset for help on using the changeset viewer.