https://reisub.nsupdate.info/git
/
friendica.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb4e44f
)
Hide deprecated networks
author
Michael
<heluecht@pirati.ca>
Fri, 10 Aug 2018 04:59:26 +0000
(
04:59
+0000)
committer
Michael
<heluecht@pirati.ca>
Fri, 10 Aug 2018 04:59:26 +0000
(
04:59
+0000)
src/Content/Widget.php
patch
|
blob
|
history
diff --git
a/src/Content/Widget.php
b/src/Content/Widget.php
index
cc98a8d
..
a46ccc6
100644
(file)
--- a/
src/Content/Widget.php
+++ b/
src/Content/Widget.php
@@
-79,7
+79,8
@@
class Widget
*/
public static function unavailableNetworks()
{
- $networks = array();
+ // Always hide content from these networks
+ $networks = ['face', 'apdn'];
if (!Addon::isEnabled("statusnet")) {
$networks[] = NETWORK_STATUSNET;