Skip to:
Content

bbPress.org


Ignore:
Timestamp:
09/20/2014 06:06:08 AM (12 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/bbPress1.php

    r5526 r5530  
    461461                /** User Section ******************************************************/
    462462
    463                 // Store old User id (Stored in usermeta)
     463                // Store old user id (Stored in usermeta)
    464464                $this->field_map[] = array(
    465465                        'from_tablename' => 'users',
    466466                        'from_fieldname' => 'ID',
    467467                        'to_type'        => 'user',
    468                         'to_fieldname'   => '_bbp_user_id'
    469                 );
    470 
    471                 // Store old User password (Stored in usermeta)
     468                        'to_fieldname'   => '_bbp_old_user_id'
     469                );
     470
     471                // Store old user password (Stored in usermeta)
    472472                $this->field_map[] = array(
    473473                        'from_tablename' => 'users',
Note: See TracChangeset for help on using the changeset viewer.