Remove uses of the rest of deprecated profile fields

This commit is contained in:
Hypolite Petovan 2020-01-27 23:05:57 -05:00
parent e69497454b
commit 7b0ec6252f
13 changed files with 10 additions and 278 deletions

View file

@ -833,9 +833,6 @@ class Probe
if (!empty($profile['country'])) {
$loc['country-name'] = $profile['country'];
}
if (!empty($profile['hometown'])) {
$loc['locality'] = $profile['hometown'];
}
$location = Profile::formatLocation($loc);
if (!empty($location)) {
$data['location'] = $location;