]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Following.php
Merge pull request #6220 from AndyHee/patch20181129
[friendica.git] / src / Module / Following.php
index 091a505cc92f6b3220931017a40f49ce344d98f9..71e6613f0c19629810a7b7d0cd26ccb8f0da51b1 100644 (file)
@@ -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);