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

    r5519 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' => 'taxonomy_term_data',
    3131            'from_fieldname' => 'tid',
    3232            'to_type'        => 'forum',
    33             'to_fieldname'   => '_bbp_forum_id'
     33            'to_fieldname'   => '_bbp_old_forum_id'
    3434        );
    3535
     
    118118        /** Topic Section *****************************************************/
    119119
    120         // Topic id (Stored in postmeta)
     120        // Old topic id (Stored in postmeta)
    121121        $this->field_map[] = array(
    122122            'from_tablename' => 'forum_index',
    123123            'from_fieldname' => 'nid',
    124124            'to_type'        => 'topic',
    125             'to_fieldname'   => '_bbp_topic_id'
     125            'to_fieldname'   => '_bbp_old_topic_id'
    126126        );
    127127
     
    318318        /** Reply Section *****************************************************/
    319319
    320         // Reply id (Stored in postmeta)
     320        // Old reply id (Stored in postmeta)
    321321        $this->field_map[] = array(
    322322            'from_tablename' => 'comment',
    323323            'from_fieldname' => 'cid',
    324324            'to_type'        => 'reply',
    325             'to_fieldname'   => '_bbp_post_id'
     325            'to_fieldname'   => '_bbp_old_reply_id'
    326326        );
    327327
Note: See TracChangeset for help on using the changeset viewer.