Skip to:
Content

bbPress.org

Ticket #2126: 2126.diff

File 2126.diff, 719 bytes (added by netweb, 12 years ago)

These are the database table mappings for bbPress1.php

  • bbPress/admin/converters/bbPress1.php

    diff --git a/bbPress/admin/converters/bbPress1.php b/bbPress/admin/converters/bbPress1.php
    index 90ada68..00c3b7f 100644
    a b class bbPress1 extends BBP_Converter_Base { 
    216216                        'callback_method' => 'callback_topic_status'
    217217                );
    218218
     219                // Sticky status (Sticky or Global Sticky)
     220                $this->field_map[] = array(
     221                        'from_tablename'  => 'topics',
     222                        'from_fieldname'  => 'topic_sticky',
     223                        'to_type'         => 'topic',
     224                        'to_fieldname'    => 'post_status',
     225                        'callback_method' => 'callback_sticky_status'
     226                );     
     227
    219228                // Author ip.
    220229                $this->field_map[] = array(
    221230                        'from_tablename'  => 'posts',