mirror of
https://github.com/friendica/friendica
synced 2025-04-24 23:10:11 +00:00
Added UpdateServerDirectory
This commit is contained in:
parent
37f0519514
commit
a1ad549e0b
3 changed files with 19 additions and 4 deletions
18
src/Worker/UpdateServerDirectory.php
Normal file
18
src/Worker/UpdateServerDirectory.php
Normal file
|
@ -0,0 +1,18 @@
|
|||
<?php
|
||||
/**
|
||||
* @file src/Worker/UpdateServerDirectory.php
|
||||
*/
|
||||
namespace Friendica\Worker;
|
||||
|
||||
use Friendica\Core\Logger;
|
||||
use Friendica\Protocol\PortableContact;
|
||||
|
||||
class UpdateServerDirectory.php
|
||||
{
|
||||
// Discover the given server id for their contacts
|
||||
public static function execute($gserverid)
|
||||
{
|
||||
PortableContact::discoverSingleServer(gserverid);
|
||||
return;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue