From 5c4f58f1969ae02b38b8e06c5e7e273242ccd165 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Mon, 30 Apr 2007 15:20:33 +0000 Subject: [PATCH] reverted accidently commited cvs_import --- addressbook/csv_import.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/addressbook/csv_import.php b/addressbook/csv_import.php index e8cec3d1f3..02ddfaa97c 100644 --- a/addressbook/csv_import.php +++ b/addressbook/csv_import.php @@ -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 "

adding: ".print_r($values,true)."

\n"; }