{
$address = $this->text;
if ($this->type == self::LINK_PROFILE || $this->type == self::LINK_JOB) {
- static $pubs = array('public' => 'publique', 'ax' => 'annuaire AX', 'private' => 'privé');
+ static $pubs = array('public' => 'publique', 'ax' => 'annuaire papier', 'private' => 'privé', 'hidden' => 'administrateurs');
$address .= ' (affichage ' . $pubs[$this->pub];
}
if ($this->type == self::LINK_PROFILE) {
return $best_mail;
}
- public function updateGeocoding($text)
+ public function updateGeocoding()
{
XDB::execute('UPDATE profile_addresses
SET text = {?}, postalText = {?}, types = {?}, formatted_address = {?},