mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-12 01:54:26 +02:00
The global contact for server users is now stored directly
This commit is contained in:
parent
90155da59a
commit
3df235e5bd
4 changed files with 22 additions and 8 deletions
|
@ -492,12 +492,12 @@ class dfrn {
|
|||
|
||||
// Is the profile hidden or shouldn't be published in the net? Then add the "hide" element
|
||||
$r = q("SELECT `id` FROM `profile` INNER JOIN `user` ON `user`.`uid` = `profile`.`uid`
|
||||
WHERE `hidewall` OR NOT `net-publish` AND `user`.`uid` = %d",
|
||||
WHERE (`hidewall` OR NOT `net-publish`) AND `user`.`uid` = %d",
|
||||
intval($owner['uid']));
|
||||
if ($r)
|
||||
xml::add_element($doc, $author, "dfrn:hide", "true");
|
||||
|
||||
// The following fields will only be generated if this isn't for a public feed
|
||||
// The following fields will only be generated if the data isn't meant for a public feed
|
||||
if ($public)
|
||||
return $author;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue