reverted accidently commited cvs_import

This commit is contained in:
Ralf Becker 2007-04-30 15:20:33 +00:00
parent ecb0667898
commit 5c4f58f196

View File

@ -416,11 +416,6 @@
}
if(!$_POST['debug'] && !$empty) // dont import empty contacts
{
if ($values['email'] && ($existing = $GLOBALS['egw']->contacts->search(array('email'=>$values['email']),false)) &&
count($existing) == 1)
{
$values = array_merge($existing[0],$values);
}
$GLOBALS['egw']->contacts->save($values);
//echo "<p>adding: ".print_r($values,true)."</p>\n";
}