From 1093103856b429c21333f78e7d50c2700dfb9f01 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Fri, 12 Oct 2012 12:55:19 +0000 Subject: [PATCH] fixed not working account migration: need to invalidate cache: otherwise no migration takes place, if cached results says account already exists --- setup/inc/class.setup_cmd_ldap.inc.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/setup/inc/class.setup_cmd_ldap.inc.php b/setup/inc/class.setup_cmd_ldap.inc.php index 7684f6f8a4..203a77bca4 100644 --- a/setup/inc/class.setup_cmd_ldap.inc.php +++ b/setup/inc/class.setup_cmd_ldap.inc.php @@ -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))