mirror of
https://github.com/friendica/friendica
synced 2025-04-26 23:50:11 +00: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
|
@ -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