mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 08:34:42 +01:00
"fixed not working account-mirgration from LDAP --> SQL"
This commit is contained in:
parent
5e9b8efdb6
commit
f03dce0a4d
@ -97,6 +97,11 @@ if (!$_POST['migrate'])
|
||||
// fetch the complete data (search reads not everything), plus the members(hips)
|
||||
foreach($accounts as $account_id => $account)
|
||||
{
|
||||
if ($account_id != $account['account_id']) // not all backends have as key the account_id
|
||||
{
|
||||
unset($accounts[$account_id]);
|
||||
$account_id = $account['account_id'];
|
||||
}
|
||||
$accounts[$account_id] = $GLOBALS['egw']->accounts->read($account_id);
|
||||
|
||||
if ($account['account_type'] == 'g')
|
||||
|
Loading…
Reference in New Issue
Block a user