Reduce the load of "gfollower"

This commit is contained in:
Michael 2020-03-10 21:10:59 +00:00
parent 2b5ef80912
commit f27900ad78
9 changed files with 50 additions and 10 deletions

View file

@ -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
*