friendica/src/Worker/FetchPoCo.php

25 lines
524 B
PHP
Raw Normal View History

2019-12-20 16:21:25 -05:00
<?php
/**
* @file src/Worker/FetchPoCo.php
*/
namespace Friendica\Worker;
use Friendica\Core\Logger;
use Friendica\Protocol\PortableContact;
class FetchPoCo
{
2019-12-21 15:18:44 -05:00
/**
* Fetch PortableContacts from a given PoCo server address
*
* @param integer $cid Contact ID
* @param integer $uid User ID
* @param integer $zcid Global Contact ID
* @param integer $url PoCo address that should be polled
*/
2019-12-20 16:21:25 -05:00
public static function execute($cid, $uid, $zcid, $url)
{
PortableContact::load($cid, $uid, $zcid, $url);
}
}