Rename ax_mail flag to dn_best_mail for profile addresses
authorNicolas Iooss <nicolas.iooss_git@polytechnique.org>
Mon, 17 Feb 2014 20:58:38 +0000 (21:58 +0100)
committerNicolas Iooss <nicolas.iooss_git@polytechnique.org>
Mon, 17 Feb 2014 22:16:13 +0000 (23:16 +0100)
commit8a1f4fbfc77d96055ad3bf3e7784bd01b1bafb14
tree324affda267c88e0b46b1e7f8f6bb870ae908ef1
parent2dd71595216b0bf28623c5805687e3717593084c
Rename ax_mail flag to dn_best_mail for profile addresses

The name "ax_mail" is ambiguous with the visibility level "ax". In fact this
is only used to speed up the advanced search when an administrator exports a
list of addresses to prepare a mailing.

Therefore this denormalized flag is renamed "dn_best_mail", which is the best
known address to send mail.

This commit adds a comment in classes/address.php to describe how this best
address is chosen.
classes/address.php
classes/userfilter/conditions.inc.php
include/ufbuilder.inc.php
include/userset.inc.php
templates/search/adv.form.tpl
upgrade/1.1.12/04_profile_addresses_rename_ax-mail_to_dn-best-mail.sql [new file with mode: 0644]