Functionality is now split
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user