mirror of
https://github.com/friendica/friendica
synced 2025-04-28 03:50:17 +00:00
No more gender
This commit is contained in:
parent
797e3a2079
commit
3bd1f3a836
24 changed files with 32 additions and 128 deletions
|
@ -57,7 +57,7 @@ class Probe
|
|||
private static function rearrangeData($data)
|
||||
{
|
||||
$fields = ["name", "nick", "guid", "url", "addr", "alias", "photo", "account-type",
|
||||
"community", "keywords", "location", "about", "gender", "hide",
|
||||
"community", "keywords", "location", "about", "hide",
|
||||
"batch", "notify", "poll", "request", "confirm", "poco",
|
||||
"following", "followers", "inbox", "outbox", "sharedinbox",
|
||||
"priority", "network", "pubkey", "baseurl"];
|
||||
|
@ -849,9 +849,6 @@ class Probe
|
|||
if (!empty($profile['description'])) {
|
||||
$data['about'] = $profile['description'];
|
||||
}
|
||||
if (!empty($profile['gender'])) {
|
||||
$data['gender'] = $profile['gender'];
|
||||
}
|
||||
if (!empty($profile['keywords'])) {
|
||||
$keywords = implode(', ', $profile['keywords']);
|
||||
if (!empty($keywords)) {
|
||||
|
@ -1012,10 +1009,6 @@ class Probe
|
|||
$data["about"] = $json["about"];
|
||||
}
|
||||
|
||||
if (!empty($json["gender"])) {
|
||||
$data["gender"] = $json["gender"];
|
||||
}
|
||||
|
||||
if (!empty($json["key"])) {
|
||||
$data["pubkey"] = $json["key"];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue