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

    r5428 r5526  
    2727
    2828
    29         // Forum id (Stored in postmeta)
     29        // Old forum id (Stored in postmeta)
    3030        $this->field_map[] = array(
    3131            'from_tablename' => 'kunena_categories',
    3232            'from_fieldname' => 'id',
    3333            'to_type'        => 'forum',
    34             'to_fieldname'   => '_bbp_forum_id'
     34            'to_fieldname'   => '_bbp_old_forum_id'
    3535        );
    3636
     
    151151        /** Topic Section *****************************************************/
    152152
    153         // Topic id (Stored in postmeta)
     153        // Old topic id (Stored in postmeta)
    154154        $this->field_map[] = array(
    155155            'from_tablename' => 'kunena_topics',
    156156            'from_fieldname' => 'id',
    157157            'to_type'        => 'topic',
    158             'to_fieldname'   => '_bbp_topic_id'
     158            'to_fieldname'   => '_bbp_old_topic_id'
    159159        );
    160160
     
    296296        /** Reply Section *****************************************************/
    297297
    298         // Reply id (Stored in postmeta)
     298        // Old reply id (Stored in postmeta)
    299299        $this->field_map[] = array(
    300300            'from_tablename'  => 'kunena_messages',
    301301            'from_fieldname'  => 'id',
    302302            'to_type'         => 'reply',
    303             'to_fieldname'    => '_bbp_post_id'
     303            'to_fieldname'    => '_bbp_old_reply_id'
    304304        );
    305305
Note: See TracChangeset for help on using the changeset viewer.