Plugin Directory

Changeset 670753


Ignore:
Timestamp:
02/20/2013 01:10:05 PM (13 years ago)
Author:
glatze
Message:

bulk import fixed
[Issue 0076] http://bt.steindorff.de/view.php?id=0076

Location:
active-directory-integration/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • active-directory-integration/trunk/bulkimport.php

    r489381 r670753  
    215215       
    216216        // Adding all local users with non empty entry adi_samaccountname in usermeta
     217        // Issue #0076
    217218        $blogusers=$wpdb->get_results(
    218219            '
    219220            SELECT
    220                 users.user_login
     221                users.user_login, meta.meta_value
    221222            FROM
    222223                '. $wpdb->users . ' users
     
    235236        if (is_array($blogusers)) {
    236237            foreach ($blogusers AS $user) {
    237                 $all_users[strtolower($user->user_login)] = $user->user_login;
     238                $all_users[strtolower($user->meta_value)] = $user->user_login; // Issue #0076
    238239            }
    239240        }   
  • active-directory-integration/trunk/readme.txt

    r670744 r670753  
    129129
    130130= 1.1.4 =
     131* Fix: Bulk Import didn't work correctly if account suffix is appended to username. (Bug report by Stephen. Issue #0076.)
    131132* Change: Moved class BulkSyncBackADIntegrationPlugin() from syncback.php to BulkSyncBackADIntegrationPlugin.class.php (Recommendation by nic0tin. Issue #0075.)
    132133
Note: See TracChangeset for help on using the changeset viewer.