mirror of
https://github.com/friendica/friendica
synced 2025-04-23 07:50:12 +00:00
Reduce the load of "gfollower"
This commit is contained in:
parent
2b5ef80912
commit
f27900ad78
9 changed files with 50 additions and 10 deletions
|
@ -43,6 +43,19 @@ use Friendica\Util\Strings;
|
|||
*/
|
||||
class GContact
|
||||
{
|
||||
/**
|
||||
* No discovery of followers/followings
|
||||
*/
|
||||
const DISCOVERY_NONE = 0;
|
||||
/**
|
||||
* Only discover followers/followings from direct contacts
|
||||
*/
|
||||
const DISCOVERY_DIRECT = 1;
|
||||
/**
|
||||
* Recursive discovery of followers/followings
|
||||
*/
|
||||
const DISCOVERY_RECURSIVE = 2;
|
||||
|
||||
/**
|
||||
* Search global contact table by nick or name
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue