forked from extern/egroupware
fixed not working account migration: need to invalidate cache: otherwise no migration takes place, if cached results says account already exists
This commit is contained in:
parent
f3574b59bc
commit
1093103856
@ -159,6 +159,9 @@ class setup_cmd_ldap extends setup_cmd
|
|||||||
$what = ($account['account_type'] == 'u' ? lang('User') : lang('Group')).' '.
|
$what = ($account['account_type'] == 'u' ? lang('User') : lang('Group')).' '.
|
||||||
$account_id.' ('.$account['account_lid'].')';
|
$account_id.' ('.$account['account_lid'].')';
|
||||||
|
|
||||||
|
// invalidate cache: otherwise no migration takes place, if cached results says account already exists
|
||||||
|
accounts::cache_invalidate($account_id);
|
||||||
|
|
||||||
if ($account['account_type'] == 'u')
|
if ($account['account_type'] == 'u')
|
||||||
{
|
{
|
||||||
if ($accounts_obj->exists($account_id))
|
if ($accounts_obj->exists($account_id))
|
||||||
|
Loading…
Reference in New Issue
Block a user