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/PHPWind.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' => 'bbs_forum',
    3131            'from_fieldname' => 'fid',
    3232            'to_type'        => 'forum',
    33             'to_fieldname'   => '_bbp_forum_id'
     33            'to_fieldname'   => '_bbp_old_forum_id'
    3434        );
    3535
     
    163163        /** Topic Section *****************************************************/
    164164
    165         // Topic id (Stored in postmeta)
     165        // Old topic id (Stored in postmeta)
    166166        $this->field_map[] = array(
    167167            'from_tablename' => 'bbs_threads',
    168168            'from_fieldname' => 'tid',
    169169            'to_type'        => 'topic',
    170             'to_fieldname'   => '_bbp_topic_id'
     170            'to_fieldname'   => '_bbp_old_topic_id'
    171171        );
    172172
     
    308308        /** Reply Section *****************************************************/
    309309
    310         // Reply id (Stored in postmeta)
     310        // Old reply id (Stored in postmeta)
    311311        $this->field_map[] = array(
    312312            'from_tablename' => 'bbs_posts',
    313313            'from_fieldname' => 'pid',
    314314            'to_type'        => 'reply',
    315             'to_fieldname'   => '_bbp_post_id'
     315            'to_fieldname'   => '_bbp_old_reply_id'
    316316        );
    317317
Note: See TracChangeset for help on using the changeset viewer.