mirror of
https://github.com/friendica/friendica
synced 2025-04-29 11:44:24 +02:00
The twitter addon is no import connector anymore
This commit is contained in:
parent
41bc148040
commit
97aecc8fc1
8 changed files with 9 additions and 31 deletions
|
@ -220,7 +220,8 @@ class ContactSelector
|
|||
'GNU Social' => 'gnu-social', 'gnusocial' => 'gnu-social', 'hubzilla' => 'hubzilla',
|
||||
'mastodon' => 'mastodon', 'peertube' => 'peertube', 'pixelfed' => 'pixelfed',
|
||||
'pleroma' => 'pleroma', 'red' => 'hubzilla', 'redmatrix' => 'hubzilla',
|
||||
'socialhome' => 'social-home', 'wordpress' => 'wordpress', 'lemmy' => 'users'];
|
||||
'socialhome' => 'social-home', 'wordpress' => 'wordpress', 'lemmy' => 'users',
|
||||
'firefish' => 'fire', 'calckey' => 'calculator', 'kbin' => 'check'];
|
||||
|
||||
$search = array_keys($nets);
|
||||
$replace = array_values($nets);
|
||||
|
|
|
@ -102,7 +102,7 @@ class Widget
|
|||
public static function unavailableNetworks(): array
|
||||
{
|
||||
// Always hide content from these networks
|
||||
$networks = [Protocol::PHANTOM, Protocol::FACEBOOK, Protocol::APPNET, Protocol::ZOT];
|
||||
$networks = [Protocol::PHANTOM, Protocol::FACEBOOK, Protocol::APPNET, Protocol::TWITTER, Protocol::ZOT];
|
||||
|
||||
if (!Addon::isEnabled("discourse")) {
|
||||
$networks[] = Protocol::DISCOURSE;
|
||||
|
@ -116,10 +116,6 @@ class Widget
|
|||
$networks[] = Protocol::PUMPIO;
|
||||
}
|
||||
|
||||
if (!Addon::isEnabled("twitter")) {
|
||||
$networks[] = Protocol::TWITTER;
|
||||
}
|
||||
|
||||
if (!Addon::isEnabled("tumblr")) {
|
||||
$networks[] = Protocol::TUMBLR;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue