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 12:43:54 +02:00
parent 9be52c2d75
commit 544dc160ca

View File

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