]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Outbox.php
Merge pull request #6127 from annando/notice
[friendica.git] / src / Module / Outbox.php
index 722315145f1b3b9682254cfab1e848aab5b2aad0..681d1cccb103d76ccd1b225758e67f442a115f3b 100644 (file)
@@ -14,7 +14,7 @@ use Friendica\Model\User;
  */
 class Outbox extends BaseModule
 {
-       public static function init()
+       public static function rawContent()
        {
                $a = self::getApp();
 
@@ -29,10 +29,10 @@ class Outbox extends BaseModule
 
                $page = defaults($_REQUEST, 'page', null);
 
-               $Outbox = ActivityPub::getOutbox($owner, $page);
+               $outbox = ActivityPub\Transmitter::getOutbox($owner, $page);
 
                header('Content-Type: application/activity+json');
-               echo json_encode($Outbox);
+               echo json_encode($outbox);
                exit();
        }
 }