mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-12 01:54:26 +02:00
Refactor queries in contact module
This commit is contained in:
parent
9475383c4f
commit
ed3ac36621
2 changed files with 92 additions and 69 deletions
|
@ -82,7 +82,7 @@ class Widget
|
|||
public static function unavailableNetworks()
|
||||
{
|
||||
// Always hide content from these networks
|
||||
$networks = ['face', 'apdn'];
|
||||
$networks = [Protocol::PHANTOM, Protocol::FACEBOOK, Protocol::APPNET];
|
||||
|
||||
if (!Addon::isEnabled("discourse")) {
|
||||
$networks[] = Protocol::DISCOURSE;
|
||||
|
@ -175,7 +175,7 @@ class Widget
|
|||
}
|
||||
|
||||
/**
|
||||
* Return networks widget
|
||||
* Return contact relationship widget
|
||||
*
|
||||
* @param string $baseurl baseurl
|
||||
* @param string $selected optional, default empty
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue