mirror of
https://github.com/friendica/friendica
synced 2025-04-19 07:10:11 +00:00
Functionality is now split
This commit is contained in:
parent
4528d8748c
commit
3ab837f3c7
13 changed files with 71 additions and 1727 deletions
|
@ -48,7 +48,7 @@ class Inbox extends BaseModule
|
|||
$uid = 0;
|
||||
}
|
||||
|
||||
ActivityPub::processInbox($postdata, $_SERVER, $uid);
|
||||
ActivityPub\Receiver::processInbox($postdata, $_SERVER, $uid);
|
||||
|
||||
System::httpExit(202);
|
||||
}
|
||||
|
|
|
@ -32,7 +32,7 @@ class Objects extends BaseModule
|
|||
System::httpExit(404);
|
||||
}
|
||||
|
||||
$data = ActivityPub::createObjectFromItemID($item['id']);
|
||||
$data = ActivityPub\Transmitter::createObjectFromItemID($item['id']);
|
||||
|
||||
header('Content-Type: application/activity+json');
|
||||
echo json_encode($data);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue