New constant for federated protocols
This commit is contained in:
parent
4bb7a8c342
commit
6041f74df6
14 changed files with 29 additions and 27 deletions
|
@ -49,7 +49,7 @@ class Search extends BaseObject
|
|||
return $emptyResultList;
|
||||
}
|
||||
|
||||
if (!(in_array($user_data["network"], [Protocol::ACTIVITYPUB, Protocol::DFRN, Protocol::OSTATUS, Protocol::DIASPORA]))) {
|
||||
if (!(in_array($user_data["network"], Protocol::FEDERATED))) {
|
||||
return $emptyResultList;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue