X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModule%2FFollowers.php;h=56160aecf81a10f8df4e857561ee99b1992302c5;hb=3564daf24dd66c6eeba2ef86722a7c80b076e3fa;hp=80ad68def4f6b0427fad65825842e50e16908e08;hpb=8c7e5bb776583ac97b31bc023fbc335b1a2b1251;p=friendica.git diff --git a/src/Module/Followers.php b/src/Module/Followers.php index 80ad68def4..56160aecf8 100644 --- a/src/Module/Followers.php +++ b/src/Module/Followers.php @@ -14,7 +14,7 @@ use Friendica\Model\User; */ class Followers extends BaseModule { - public static function init() + public static function rawContent() { $a = self::getApp(); @@ -29,7 +29,7 @@ class Followers extends BaseModule $page = defaults($_REQUEST, 'page', null); - $followers = ActivityPub::getFollowers($owner, $page); + $followers = ActivityPub\Transmitter::getFollowers($owner, $page); header('Content-Type: application/activity+json'); echo json_encode($followers);