diff options
author | Bart Visscher <bartv@thisnet.nl> | 2011-12-06 22:31:04 +0100 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2011-12-07 20:40:59 +0100 |
commit | 7e990a8e5c5bf266bd3fe36cd5bb99e49c6adb1e (patch) | |
tree | 01b639d59265fa14a359409c0617bfe8e65c0090 /apps/contacts/ajax/showaddcard.php | |
parent | 247146f7036984e0ae7a6719e8adfca6c2251079 (diff) | |
download | nextcloud-server-7e990a8e5c5bf266bd3fe36cd5bb99e49c6adb1e.tar.gz nextcloud-server-7e990a8e5c5bf266bd3fe36cd5bb99e49c6adb1e.zip |
Contacts: refactor common ajax functions to OC_Contacts_App
Diffstat (limited to 'apps/contacts/ajax/showaddcard.php')
-rw-r--r-- | apps/contacts/ajax/showaddcard.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/contacts/ajax/showaddcard.php b/apps/contacts/ajax/showaddcard.php index a2a9398bde5..54592c89c0d 100644 --- a/apps/contacts/ajax/showaddcard.php +++ b/apps/contacts/ajax/showaddcard.php @@ -27,8 +27,8 @@ require_once('../../../lib/base.php'); OC_JSON::checkLoggedIn(); OC_JSON::checkAppEnabled('contacts'); -$adr_types = OC_Contacts_App::getTypesOfProperty(OC_Contacts_App::$l10n, 'ADR'); -$phone_types = OC_Contacts_App::getTypesOfProperty(OC_Contacts_App::$l10n, 'TEL'); +$adr_types = OC_Contacts_App::getTypesOfProperty('ADR'); +$phone_types = OC_Contacts_App::getTypesOfProperty('TEL'); $addressbooks = OC_Contacts_Addressbook::all(OC_USER::getUser()); $tmpl = new OC_Template('contacts','part.addcardform'); |