From: <ral...@us...> - 2007-04-30 15:31:31
|
Author: ralfbecker Date: Mon Apr 30 17:20:33 2007 New Revision: 23748 URL: http://www.egroupware.org/viewvc?rev=3D3D23748&view=3D3Drev Log: reverted accidently commited cvs_import Modified: trunk/addressbook/csv_import.php Modified: trunk/addressbook/csv_import.php URL: http://www.egroupware.org/viewvc/trunk/addressbook/csv_import.php?rev= =3D =3D3D23748&r1=3D3D23747&r2=3D3D23748&view=3D3Ddiff =3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D= =3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D =3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D= =3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D =3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D= =3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D =3D3D=3D3D=3D3D --- trunk/addressbook/csv_import.php (original) +++ trunk/addressbook/csv_import.php Mon Apr 30 17:20:33 2007 @@ -416,11 +416,6 @@ } if(!$_POST['debug'] && !$empty) // dont import empty contacts { - if ($values['email'] && ($existing =3D3D $GLOBALS['egw']->contacts->s= ea=3D rch(array('email'=3D3D>$values['email']),false)) && - count($existing) =3D3D=3D3D 1) - { - $values =3D3D array_merge($existing[0],$values); - } $GLOBALS['egw']->contacts->save($values); //echo "<p>adding: ".print_r($values,true)."</p>\n"; } |