mirror of
https://github.com/friendica/friendica
synced 2025-04-24 05:10:11 +00:00
The fcontact table is now updated in the background to improve performance
This commit is contained in:
parent
636325efcc
commit
e5c24f33f0
7 changed files with 48 additions and 47 deletions
|
@ -57,6 +57,18 @@ class Probe
|
|||
private static $baseurl;
|
||||
private static $istimeout;
|
||||
|
||||
/**
|
||||
* Checks if the provided network can be probed
|
||||
*
|
||||
* @param string $network
|
||||
* @return boolean
|
||||
*/
|
||||
public static function isProbable(string $network): bool
|
||||
{
|
||||
return (in_array($network, array_merge(Protocol::FEDERATED, [Protocol::ZOT, Protocol::PHANTOM])));
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove stuff from an URI that doesn't belong there
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue