diff options
author | Thomas Tanghus <thomas@tanghus.net> | 2012-03-26 19:13:48 +0200 |
---|---|---|
committer | Thomas Tanghus <thomas@tanghus.net> | 2012-03-26 19:13:48 +0200 |
commit | 6ff89dcf727ab140c766c093b6f91b92a50ef7e9 (patch) | |
tree | a13a46bb4bb96b55eec898846168b143caaf5f52 /apps/contacts/ajax/addproperty.php | |
parent | 102cf150b3a1de43877878debf9aef5f386d543b (diff) | |
download | nextcloud-server-6ff89dcf727ab140c766c093b6f91b92a50ef7e9.tar.gz nextcloud-server-6ff89dcf727ab140c766c093b6f91b92a50ef7e9.zip |
Removed obsolete code.
Diffstat (limited to 'apps/contacts/ajax/addproperty.php')
-rw-r--r-- | apps/contacts/ajax/addproperty.php | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/apps/contacts/ajax/addproperty.php b/apps/contacts/ajax/addproperty.php index e1a31292837..d2c0291e8c6 100644 --- a/apps/contacts/ajax/addproperty.php +++ b/apps/contacts/ajax/addproperty.php @@ -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 ))); |