mirror of
https://github.com/friendica/friendica
synced 2025-04-26 21:10:16 +00:00
Functionality is now split
This commit is contained in:
parent
4528d8748c
commit
3ab837f3c7
13 changed files with 71 additions and 1727 deletions
|
@ -19,11 +19,11 @@ class APDelivery extends BaseObject
|
|||
} elseif ($cmd == Delivery::SUGGESTION) {
|
||||
} elseif ($cmd == Delivery::RELOCATION) {
|
||||
} elseif ($cmd == Delivery::REMOVAL) {
|
||||
ActivityPub::transmitProfileDeletion($uid, $inbox);
|
||||
ActivityPub\Transmitter::transmitProfileDeletion($uid, $inbox);
|
||||
} elseif ($cmd == Delivery::PROFILEUPDATE) {
|
||||
ActivityPub::transmitProfileUpdate($uid, $inbox);
|
||||
ActivityPub\Transmitter::transmitProfileUpdate($uid, $inbox);
|
||||
} else {
|
||||
$data = ActivityPub::createActivityFromItem($item_id);
|
||||
$data = ActivityPub\Transmitter::createActivityFromItem($item_id);
|
||||
if (!empty($data)) {
|
||||
HTTPSignature::transmit($data, $inbox, $uid);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue