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

@ -721,7 +721,7 @@ class Contact
return;
}
$fields = ['name', 'photo', 'thumb', 'about', 'address', 'locality', 'region',
$fields = ['name', 'photo', 'thumb', 'pdesc' => 'about', 'address', 'locality', 'region',
'country-name', 'pub_keywords', 'xmpp', 'net-publish'];
$profile = DBA::selectFirst('profile', $fields, ['uid' => $uid]);
if (!DBA::isResult($profile)) {