From 544dc160ca12d3b167589b49a305d26e574c85b8 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 10 Apr 2018 12:43:54 +0200 Subject: [PATCH] remove destination ID check, as it only makes sense on chaning single IDs, but might stall migration of whole instances --- admin/inc/class.admin_cmd_change_account_id.inc.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/admin/inc/class.admin_cmd_change_account_id.inc.php b/admin/inc/class.admin_cmd_change_account_id.inc.php index f554f1e8da..e4e2a68192 100644 --- a/admin/inc/class.admin_cmd_change_account_id.inc.php +++ b/admin/inc/class.admin_cmd_change_account_id.inc.php @@ -139,10 +139,6 @@ class admin_cmd_change_account_id extends admin_cmd { $errors[] = lang("Group #%1 must have negative sign!", $from); } - if ($GLOBALS['egw']->accounts->exists($to) && !isset($this->change[$to])) - { - $errors[] = lang("Destination account #%1 does exist and is NOT renamed itself! Can not merge Api\Accounts, it will violate unique contains. Delete with transfer of data instead.", $to); - } } } if ($errors)