mirror of
https://github.com/friendica/friendica
synced 2025-04-24 23:10:11 +00:00
Remove usage of profile.gender
This commit is contained in:
parent
a7dd0173a7
commit
8e2910976f
10 changed files with 25 additions and 201 deletions
|
@ -103,7 +103,7 @@ class NoScrape extends BaseModule
|
|||
$json_info['last-activity'] = date('o-W', $last_active);
|
||||
|
||||
//These are optional fields.
|
||||
$profile_fields = ['pdesc', 'locality', 'region', 'postal-code', 'country-name', 'gender', 'marital', 'about'];
|
||||
$profile_fields = ['pdesc', 'locality', 'region', 'postal-code', 'country-name', 'marital', 'about'];
|
||||
foreach ($profile_fields as $field) {
|
||||
if (!empty($a->profile[$field])) {
|
||||
$json_info["$field"] = $a->profile[$field];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue