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:
Ralf Becker 2012-10-12 12:55:19 +00:00
parent f3574b59bc
commit 1093103856

View File

@ -159,6 +159,9 @@ class setup_cmd_ldap extends setup_cmd
$what = ($account['account_type'] == 'u' ? lang('User') : lang('Group')).' '.
$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 ($accounts_obj->exists($account_id))