X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModule%2FFollowing.php;h=71e6613f0c19629810a7b7d0cd26ccb8f0da51b1;hb=3b41535dfe9d8285264ebae2c2c111a359e7288a;hp=091a505cc92f6b3220931017a40f49ce344d98f9;hpb=8c7e5bb776583ac97b31bc023fbc335b1a2b1251;p=friendica.git diff --git a/src/Module/Following.php b/src/Module/Following.php index 091a505cc9..71e6613f0c 100644 --- a/src/Module/Following.php +++ b/src/Module/Following.php @@ -14,7 +14,7 @@ use Friendica\Model\User; */ class Following extends BaseModule { - public static function init() + public static function rawContent() { $a = self::getApp(); @@ -29,7 +29,7 @@ class Following extends BaseModule $page = defaults($_REQUEST, 'page', null); - $Following = ActivityPub::getFollowing($owner, $page); + $Following = ActivityPub\Transmitter::getFollowing($owner, $page); header('Content-Type: application/activity+json'); echo json_encode($Following);