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/Mingle.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' => 'forum_forums',
    3131            'from_fieldname' => 'id',
    3232            'to_type'        => 'forum',
    33             'to_fieldname'   => '_bbp_forum_id'
     33            'to_fieldname'   => '_bbp_old_forum_id'
    3434        );
    3535
     
    113113        /** Topic Section ******************************************************/
    114114
    115         // Topic id (Stored in postmeta)
     115        // Old topic id (Stored in postmeta)
    116116        $this->field_map[] = array(
    117117            'from_tablename' => 'forum_threads',
    118118            'from_fieldname' => 'id',
    119119            'to_type'        => 'topic',
    120             'to_fieldname'   => '_bbp_topic_id'
     120            'to_fieldname'   => '_bbp_old_topic_id'
    121121        );
    122122
     
    235235        /** Reply Section ******************************************************/
    236236
    237         // Reply id (Stored in postmeta)
     237        // Old reply id (Stored in postmeta)
    238238        $this->field_map[] = array(
    239239            'from_tablename' => 'forum_posts',
    240240            'from_fieldname' => 'id',
    241241            'to_type'        => 'reply',
    242             'to_fieldname'   => '_bbp_post_id'
     242            'to_fieldname'   => '_bbp_old_reply_id'
    243243        );
    244244
Note: See TracChangeset for help on using the changeset viewer.