From 336bb24ce4ae7b734278d452b7c1708da511b82b Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 10 Apr 2018 13:37:37 +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 52f6ed024d..22603356ad 100644 --- a/admin/inc/class.admin_cmd_change_account_id.inc.php +++ b/admin/inc/class.admin_cmd_change_account_id.inc.php @@ -134,10 +134,6 @@ class admin_cmd_change_account_id extends admin_cmd { throw new Api\Exception\WrongUserinput(lang("Group #%1 must have negative sign!", $from),19); } - if ($GLOBALS['egw']->accounts->exists($to) && !isset($this->change[$to])) - { - throw new Api\Exception\WrongUserinput(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),20); - } } $columns2change = $this->get_changes(); $total = 0;