mirror of
https://github.com/friendica/friendica
synced 2025-04-28 03:50:17 +00:00
Legacy DFRN transport layer is removed
This commit is contained in:
parent
fd37a57678
commit
3a5523820c
27 changed files with 199 additions and 3175 deletions
|
@ -340,17 +340,9 @@ class Delivery
|
|||
self::deliverDiaspora($cmd, $contact, $owner, $items, $target_item, $public_message, $top_level, $followup);
|
||||
return;
|
||||
}
|
||||
} elseif ($cmd != self::RELOCATION) {
|
||||
} else {
|
||||
// DFRN payload over Diaspora transport layer
|
||||
$deliver_status = DFRN::transmit($owner, $contact, $atom);
|
||||
if (($deliver_status < 200) && (empty($server_protocol) || ($server_protocol == Model\Post\DeliveryData::LEGACY_DFRN))) {
|
||||
// Legacy DFRN
|
||||
$deliver_status = DFRN::deliver($owner, $contact, $atom);
|
||||
$protocol = Model\Post\DeliveryData::LEGACY_DFRN;
|
||||
}
|
||||
} else {
|
||||
$deliver_status = DFRN::deliver($owner, $contact, $atom);
|
||||
$protocol = Model\Post\DeliveryData::LEGACY_DFRN;
|
||||
}
|
||||
|
||||
Logger::info('DFRN Delivery', ['cmd' => $cmd, 'url' => $contact['url'], 'guid' => ($target_item['guid'] ?? '') ?: $target_item['id'], 'return' => $deliver_status]);
|
||||
|
|
|
@ -42,7 +42,6 @@ class OptimizeTables
|
|||
|
||||
DBA::e("OPTIMIZE TABLE `auth_codes`");
|
||||
DBA::e("OPTIMIZE TABLE `cache`");
|
||||
DBA::e("OPTIMIZE TABLE `challenge`");
|
||||
DBA::e("OPTIMIZE TABLE `locks`");
|
||||
DBA::e("OPTIMIZE TABLE `oembed`");
|
||||
DBA::e("OPTIMIZE TABLE `parsed_url`");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue