Removed obsolete code.

This commit is contained in:
Thomas Tanghus 2012-03-26 19:13:48 +02:00
parent 102cf150b3
commit 6ff89dcf72

View file

@ -122,13 +122,4 @@ if(!OC_Contacts_VCard::edit($id,$vcard)) {
exit(); exit();
} }
$adr_types = OC_Contacts_App::getTypesOfProperty('ADR'); OC_JSON::success(array('data' => array( 'checksum' => $checksum )));
$phone_types = OC_Contacts_App::getTypesOfProperty('TEL');
$tmpl = new OC_Template('contacts','part.property');
$tmpl->assign('adr_types',$adr_types);
$tmpl->assign('phone_types',$phone_types);
$tmpl->assign('property',OC_Contacts_VCard::structureProperty($property,$line));
$page = $tmpl->fetchPage();
OC_JSON::success(array('data' => array( 'checksum' => $checksum, 'page' => $page )));