mirror of
https://github.com/friendica/friendica
synced 2025-04-25 17:10:11 +00:00
Relocated functions from PortableContact to GServer
This commit is contained in:
parent
75c74e8562
commit
fb550a0172
4 changed files with 96 additions and 116 deletions
|
@ -7,6 +7,7 @@ namespace Friendica\Worker;
|
|||
use Friendica\Core\Config;
|
||||
use Friendica\Core\Logger;
|
||||
use Friendica\Model\GContact;
|
||||
use Friendica\Model\GServer;
|
||||
use Friendica\Protocol\PortableContact;
|
||||
|
||||
class UpdateServerDirectories
|
||||
|
@ -21,7 +22,7 @@ class UpdateServerDirectories
|
|||
}
|
||||
|
||||
// Query Friendica and Hubzilla servers for their users
|
||||
PortableContact::discover();
|
||||
GServer::discover();
|
||||
|
||||
// Query GNU Social servers for their users ("statistics" addon has to be enabled on the GS server)
|
||||
if (!Config::get('system', 'ostatus_disabled')) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue