mirror of
https://github.com/friendica/friendica
synced 2025-04-25 00:30:32 +00:00
Relocated functions
This commit is contained in:
parent
4024d725db
commit
fab85255b6
5 changed files with 78 additions and 55 deletions
|
@ -5,14 +5,13 @@
|
|||
namespace Friendica\Worker;
|
||||
|
||||
use Friendica\Core\Logger;
|
||||
use Friendica\Protocol\PortableContact;
|
||||
use Friendica\Model\GServer;
|
||||
|
||||
class UpdateServerDirectory
|
||||
{
|
||||
// Discover the given server id for their contacts
|
||||
public static function execute($gserverid)
|
||||
public static function execute($gserver)
|
||||
{
|
||||
PortableContact::discoverSingleServer($gserverid);
|
||||
GServer::updateDirectory($gserver);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue