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

    r5526 r5530  
    376376        //Note: We are importing the Joomla User details and the Kunena v1.x user profile details.
    377377
    378         // Store old User id (Stored in usermeta)
     378        // Store old user id (Stored in usermeta)
    379379        $this->field_map[] = array(
    380380            'from_tablename' => 'users',
    381381            'from_fieldname' => 'id',
    382382            'to_type'        => 'user',
    383             'to_fieldname'   => '_bbp_user_id'
    384         );
    385 
    386         // Store old User password (Stored in usermeta serialized with salt)
     383            'to_fieldname'   => '_bbp_old_user_id'
     384        );
     385
     386        // Store old user password (Stored in usermeta serialized with salt)
    387387        $this->field_map[] = array(
    388388            'from_tablename'  => 'users',
     
    393393        );
    394394
    395         // Store old User Salt (This is only used for the SELECT row info for the above password save)
     395        // Store old user salt (This is only used for the SELECT row info for the above password save)
    396396//      $this->field_map[] = array(
    397397//          'from_tablename' => 'user',
Note: See TracChangeset for help on using the changeset viewer.