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

    r5526 r5530  
    394394        //Note: We are importing the Joomla User details and the Kunena v3.x user profile details.
    395395
    396         // Store old User id (Stored in usermeta)
     396        // Store old user id (Stored in usermeta)
    397397        $this->field_map[] = array(
    398398            'from_tablename' => 'users',
    399399            'from_fieldname' => 'id',
    400400            'to_type'        => 'user',
    401             'to_fieldname'   => '_bbp_user_id'
    402         );
    403 
    404         // Store old User password (Stored in usermeta serialized with salt)
     401            'to_fieldname'   => '_bbp_old_user_id'
     402        );
     403
     404        // Store old user password (Stored in usermeta serialized with salt)
    405405        $this->field_map[] = array(
    406406            'from_tablename'  => 'users',
     
    411411        );
    412412
    413         // Store old User Salt (This is only used for the SELECT row info for the above password save)
     413        // Store old user salt (This is only used for the SELECT row info for the above password save)
    414414//      $this->field_map[] = array(
    415415//          'from_tablename' => 'users',
Note: See TracChangeset for help on using the changeset viewer.