mirror of
https://github.com/friendica/friendica
synced 2025-04-29 14:24:22 +02:00
OStatus support removed
This commit is contained in:
parent
eb066b258d
commit
e8a3be6820
87 changed files with 773 additions and 4383 deletions
|
@ -29,7 +29,7 @@ class DeliveryData
|
|||
const DFRN = 2;
|
||||
const LEGACY_DFRN = 3; // @deprecated since version 2021.09
|
||||
const DIASPORA = 4;
|
||||
const OSTATUS = 5;
|
||||
const OSTATUS = 5; // @deprecated since version 2024.09
|
||||
const MAIL = 6;
|
||||
|
||||
/**
|
||||
|
@ -83,9 +83,6 @@ class DeliveryData
|
|||
case self::DIASPORA:
|
||||
$increments[] = "`diaspora` = `diaspora` + 1";
|
||||
break;
|
||||
case self::OSTATUS:
|
||||
$increments[] = "`ostatus` = `ostatus` + 1";
|
||||
break;
|
||||
}
|
||||
|
||||
return DBA::update('post-delivery-data', $increments, ['uri-id' => $uri_id]);
|
||||
|
|
|
@ -30,8 +30,8 @@ class Engagement
|
|||
const ALTERNATIVES = ['source:news' => 'source:service', 'source:relay' => 'source:application',
|
||||
'media:picture' => 'media:image', 'media:photo' => 'media:image',
|
||||
'network:activitypub' => 'network:apub', 'network:friendica' => 'network:dfrn',
|
||||
'network:diaspora' => 'network:dspr', 'network:ostatus' => 'network:stat',
|
||||
'network:discourse' => 'network:dscs', 'network:tumblr' => 'network:tmbl', 'network:bluesky' => 'network:bsky'];
|
||||
'network:diaspora' => 'network:dspr', 'network:discourse' => 'network:dscs',
|
||||
'network:tumblr' => 'network:tmbl', 'network:bluesky' => 'network:bsky'];
|
||||
const MEDIA_NONE = 0;
|
||||
const MEDIA_IMAGE = 1;
|
||||
const MEDIA_VIDEO = 2;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue