mirror of
https://github.com/friendica/friendica
synced 2025-04-26 16:30:12 +00:00
Remove uses of the rest of deprecated profile fields
This commit is contained in:
parent
e69497454b
commit
7b0ec6252f
13 changed files with 10 additions and 278 deletions
|
@ -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)) {
|
||||
|
|
|
@ -913,11 +913,6 @@ class Profile
|
|||
(`profile`.`locality` LIKE ?) OR
|
||||
(`profile`.`region` LIKE ?) OR
|
||||
(`profile`.`country-name` LIKE ?) OR
|
||||
(`profile`.`sexual` LIKE ?) OR
|
||||
(`profile`.`about` LIKE ?) OR
|
||||
(`profile`.`romance` LIKE ?) OR
|
||||
(`profile`.`work` LIKE ?) OR
|
||||
(`profile`.`education` LIKE ?) OR
|
||||
(`profile`.`pub_keywords` LIKE ?) OR
|
||||
(`profile`.`prv_keywords` LIKE ?))",
|
||||
$searchTerm, $searchTerm, $searchTerm, $searchTerm, $searchTerm, $searchTerm, $searchTerm, $searchTerm,
|
||||
|
@ -953,11 +948,6 @@ class Profile
|
|||
(`profile`.`locality` LIKE ?) OR
|
||||
(`profile`.`region` LIKE ?) OR
|
||||
(`profile`.`country-name` LIKE ?) OR
|
||||
(`profile`.`sexual` LIKE ?) OR
|
||||
(`profile`.`about` LIKE ?) OR
|
||||
(`profile`.`romance` LIKE ?) OR
|
||||
(`profile`.`work` LIKE ?) OR
|
||||
(`profile`.`education` LIKE ?) OR
|
||||
(`profile`.`pub_keywords` LIKE ?) OR
|
||||
(`profile`.`prv_keywords` LIKE ?))
|
||||
$order LIMIT ?,?",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue