remove destination ID check, as it only makes sense on chaning single IDs, but might stall migration of whole instances

This commit is contained in:
Ralf Becker 2018-04-10 13:37:37 +02:00
parent 1f190682d0
commit 336bb24ce4

View File

@ -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;