X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=src%2FModule%2FFollowers.php;h=56160aecf81a10f8df4e857561ee99b1992302c5;hb=e0a763b07f12ecb7389925100959f9ac6ebe85a8;hp=80ad68def4f6b0427fad65825842e50e16908e08;hpb=834422d52f0b34fb088f79ac2704c3d514802d8e;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);