Removed obsolete code.
This commit is contained in:
parent
102cf150b3
commit
6ff89dcf72
1 changed files with 1 additions and 10 deletions
|
@ -122,13 +122,4 @@ if(!OC_Contacts_VCard::edit($id,$vcard)) {
|
|||
exit();
|
||||
}
|
||||
|
||||
$adr_types = OC_Contacts_App::getTypesOfProperty('ADR');
|
||||
$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 )));
|
||||
OC_JSON::success(array('data' => array( 'checksum' => $checksum )));
|
||||
|
|
Loading…
Reference in a new issue