mirror of
https://github.com/friendica/friendica
synced 2025-04-28 02:30:16 +00:00
OStatus moved to src
OStatus moved to Friendica\Protocol namespace. References and function calls updated. Related to #3878
This commit is contained in:
parent
8a0bec00c4
commit
cd12de46f8
9 changed files with 110 additions and 98 deletions
|
@ -14,12 +14,12 @@ use Friendica\Core\System;
|
|||
use Friendica\Core\Worker;
|
||||
use Friendica\Model\GlobalContact;
|
||||
use Friendica\Database\DBM;
|
||||
use Friendica\Protocol\OStatus;
|
||||
use Friendica\Util\XML;
|
||||
|
||||
use dba;
|
||||
use DOMDocument;
|
||||
use DomXPath;
|
||||
use ostatus;
|
||||
|
||||
require_once "include/Contact.php";
|
||||
require_once "include/enotify.php";
|
||||
|
@ -554,7 +554,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::hublinks($doc, $root, $owner["nick"]);
|
||||
|
||||
$attributes = array("rel" => "salmon", "href" => System::baseUrl()."/salmon/".$owner["nick"]);
|
||||
XML::add_element($doc, $root, "link", "", $attributes);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue