mirror of
https://github.com/friendica/friendica
synced 2025-04-27 00:30:10 +00:00
OStatus support removed
This commit is contained in:
parent
eb066b258d
commit
e8a3be6820
87 changed files with 773 additions and 4383 deletions
|
@ -88,17 +88,13 @@ class Widget
|
|||
public static function unavailableNetworks(): array
|
||||
{
|
||||
// Always hide content from these networks
|
||||
$networks = [Protocol::PHANTOM, Protocol::FACEBOOK, Protocol::APPNET, Protocol::TWITTER, Protocol::ZOT];
|
||||
$networks = [Protocol::PHANTOM, Protocol::FACEBOOK, Protocol::APPNET, Protocol::TWITTER, Protocol::ZOT, Protocol::OSTATUS, Protocol::STATUSNET];
|
||||
Addon::loadAddons();
|
||||
|
||||
if (!Addon::isEnabled("discourse")) {
|
||||
$networks[] = Protocol::DISCOURSE;
|
||||
}
|
||||
|
||||
if (!Addon::isEnabled("statusnet")) {
|
||||
$networks[] = Protocol::STATUSNET;
|
||||
}
|
||||
|
||||
if (!Addon::isEnabled("pumpio")) {
|
||||
$networks[] = Protocol::PUMPIO;
|
||||
}
|
||||
|
@ -107,10 +103,6 @@ class Widget
|
|||
$networks[] = Protocol::TUMBLR;
|
||||
}
|
||||
|
||||
if (DI::config()->get("system", "ostatus_disabled")) {
|
||||
$networks[] = Protocol::OSTATUS;
|
||||
}
|
||||
|
||||
if (!DI::config()->get("system", "diaspora_enabled")) {
|
||||
$networks[] = Protocol::DIASPORA;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue