diff options
author | Chris Toshok <toshok@ximian.com> | 2001-02-07 06:28:38 +0800 |
---|---|---|
committer | Chris Toshok <toshok@src.gnome.org> | 2001-02-07 06:28:38 +0800 |
commit | be76e528f583794ce9934bd999cb0216605e006e (patch) | |
tree | 8f3083cc8064b0050627f2864d63ec908697ada7 /addressbook/backend/pas | |
parent | a0bd9e81cf909cf242753b172dd5aa2d9cf920a7 (diff) | |
download | gsoc2013-evolution-be76e528f583794ce9934bd999cb0216605e006e.tar gsoc2013-evolution-be76e528f583794ce9934bd999cb0216605e006e.tar.gz gsoc2013-evolution-be76e528f583794ce9934bd999cb0216605e006e.tar.bz2 gsoc2013-evolution-be76e528f583794ce9934bd999cb0216605e006e.tar.lz gsoc2013-evolution-be76e528f583794ce9934bd999cb0216605e006e.tar.xz gsoc2013-evolution-be76e528f583794ce9934bd999cb0216605e006e.tar.zst gsoc2013-evolution-be76e528f583794ce9934bd999cb0216605e006e.zip |
doh, didn't mean to commit this.
2001-02-06 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-backend-ldap.c (create_card_handler): doh,
didn't mean to commit this.
svn path=/trunk/; revision=8029
Diffstat (limited to 'addressbook/backend/pas')
-rw-r--r-- | addressbook/backend/pas/pas-backend-ldap.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/addressbook/backend/pas/pas-backend-ldap.c b/addressbook/backend/pas/pas-backend-ldap.c index c0d6c70386..4409d72b2b 100644 --- a/addressbook/backend/pas/pas-backend-ldap.c +++ b/addressbook/backend/pas/pas-backend-ldap.c @@ -160,14 +160,14 @@ struct prop_info { LIST_PROP (E_CARD_SIMPLE_FIELD_EMAIL, "email", "mail", email_populate, email_ber, email_compare), /* phone numbers */ - E_STRING_PROP (E_CARD_SIMPLE_FIELD_PHONE_PRIMARY, "phone", "primaryTelephoneNumber"), + E_STRING_PROP (E_CARD_SIMPLE_FIELD_PHONE_PRIMARY, "phone", "primaryPhone"), LIST_PROP (E_CARD_SIMPLE_FIELD_PHONE_BUSINESS, "business_phone", "telephoneNumber", business_populate, business_ber, business_compare), LIST_PROP (E_CARD_SIMPLE_FIELD_PHONE_HOME, "home_phone", "homePhone", homephone_populate, homephone_ber, homephone_compare), STRING_PROP (E_CARD_SIMPLE_FIELD_PHONE_MOBILE, "mobile", "mobile"), E_STRING_PROP (E_CARD_SIMPLE_FIELD_PHONE_CAR, "car", "carPhone"), STRING_PROP (E_CARD_SIMPLE_FIELD_PHONE_BUSINESS_FAX, "business_fax", "facsimileTelephoneNumber"), - E_STRING_PROP (E_CARD_SIMPLE_FIELD_PHONE_BUSINESS_FAX, "home_fax", "homeFacsimileTelephoneNumber"), - E_STRING_PROP (E_CARD_SIMPLE_FIELD_PHONE_OTHER, "other_phone", "otherTelephoneNumber"), + E_STRING_PROP (E_CARD_SIMPLE_FIELD_PHONE_HOME_FAX, "home_fax", "homeFacsimileTelephoneNumber"), + E_STRING_PROP (E_CARD_SIMPLE_FIELD_PHONE_OTHER, "other_phone", "otherPhone"), STRING_PROP (E_CARD_SIMPLE_FIELD_PHONE_ISDN, "isdn", "internationalISDNNumber"), STRING_PROP (E_CARD_SIMPLE_FIELD_PHONE_PAGER, "pager", "pager"), @@ -618,6 +618,7 @@ create_card_handler (PASBackend *backend, LDAPOp *op) /* build our mods */ mod_array = build_mods_from_ecards (bl, NULL, new_card, NULL); +#if 0 if (!mod_array) { /* there's an illegal field in there. report UnsupportedAttribute back */ @@ -631,6 +632,7 @@ create_card_handler (PASBackend *backend, LDAPOp *op) return TRUE; } +#endif /* remove the NULL at the end */ g_ptr_array_remove (mod_array, NULL); |