Skip to:
Content

bbPress.org


Ignore:
Timestamp:
09/20/2014 06:06:08 AM (10 years ago)
Author:
netweb
Message:

Converter import user meta data improvements and fixes:

  • Original 'old' user meta key is now defined using _bbp_old_user_id
  • Fixes the "Purge Previous Import" optional removal of previously imported users when using the database sync_table.
  • Updates all included importers with the above changes including the custom callback in e107v1.php

See #2650

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/includes/admin/converters/PHPFox3.php

    r5526 r5530  
    420420        /** User Section ******************************************************/
    421421
    422         // Store old User id (Stored in usermeta)
     422        // Store old user id (Stored in usermeta)
    423423        $this->field_map[] = array(
    424424            'from_tablename' => 'user',
    425425            'from_fieldname' => 'user_id',
    426426            'to_type'        => 'user',
    427             'to_fieldname'   => '_bbp_user_id'
    428         );
    429 
    430         // Store old User password (Stored in usermeta serialized with salt)
     427            'to_fieldname'   => '_bbp_old_user_id'
     428        );
     429
     430        // Store old user password (Stored in usermeta serialized with salt)
    431431        $this->field_map[] = array(
    432432            'from_tablename'  => 'user',
     
    437437        );
    438438
    439         // Store old User Salt (This is only used for the SELECT row info for the above password save)
     439        // Store old user salt (This is only used for the SELECT row info for the above password save)
    440440        $this->field_map[] = array(
    441441            'from_tablename' => 'user',
Note: See TracChangeset for help on using the changeset viewer.