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

    r5526 r5530  
    382382        /** User Section ******************************************************/
    383383
    384         // Store old User id (Stored in usermeta)
     384        // Store old user id (Stored in usermeta)
    385385        $this->field_map[] = array(
    386386            'from_tablename'  => 'members',
    387387            'from_fieldname'  => 'member_id',
    388388            'to_type'         => 'user',
    389             'to_fieldname'    => '_bbp_user_id'
    390         );
    391 
    392         // Store old User password (Stored in usermeta serialized with salt)
     389            'to_fieldname'    => '_bbp_old_user_id'
     390        );
     391
     392        // Store old user password (Stored in usermeta serialized with salt)
    393393        $this->field_map[] = array(
    394394            'from_tablename'  => 'members',
     
    399399        );
    400400
    401         // Store old User Salt (This is only used for the SELECT row info for the above password save)
     401        // Store old user salt (This is only used for the SELECT row info for the above password save)
    402402        $this->field_map[] = array(
    403403            'from_tablename'  => 'members',
Note: See TracChangeset for help on using the changeset viewer.