OStatus moved to src

OStatus moved to Friendica\Protocol namespace. References and function calls updated.
Related to #3878
This commit is contained in:
Adam Magness 2017-11-15 23:09:11 -05:00
parent 8a0bec00c4
commit cd12de46f8
9 changed files with 110 additions and 98 deletions

View file

@ -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);