mirror of
https://github.com/friendica/friendica
synced 2025-04-24 07:10:11 +00:00
Add "discourse" as protocol
This commit is contained in:
parent
1cf44d92c3
commit
fdaac8a681
3 changed files with 7 additions and 0 deletions
|
@ -89,6 +89,10 @@ class Widget
|
|||
// Always hide content from these networks
|
||||
$networks = ['face', 'apdn'];
|
||||
|
||||
if (!Addon::isEnabled("discourse")) {
|
||||
$networks[] = Protocol::DISCOURSE;
|
||||
}
|
||||
|
||||
if (!Addon::isEnabled("statusnet")) {
|
||||
$networks[] = Protocol::STATUSNET;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue