mirror of
https://github.com/friendica/friendica
synced 2025-04-21 23:50:18 +00:00
Changes
- added type-hints - added some documentation - added default: block for unknown 'rel' value - changed return type void to empty array
This commit is contained in:
parent
dfa95ea58d
commit
abd0d9f3fd
5 changed files with 527 additions and 466 deletions
|
@ -383,7 +383,7 @@ class DFRN
|
|||
|
||||
if ($public) {
|
||||
// DFRN itself doesn't uses this. But maybe someone else wants to subscribe to the public feed.
|
||||
OStatus::hublinks($doc, $root, $owner["nick"]);
|
||||
OStatus::addHubLink($doc, $root, $owner["nick"]);
|
||||
|
||||
$attributes = ["rel" => "salmon", "href" => DI::baseUrl()."/salmon/".$owner["nick"]];
|
||||
XML::addElement($doc, $root, "link", "", $attributes);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue