mirror of
https://github.com/friendica/friendica
synced 2024-12-22 18:00:16 +00:00
Fix errors in Worker namespace
This commit is contained in:
parent
7abdc17711
commit
c3586cb51a
3 changed files with 3 additions and 2 deletions
|
@ -13,7 +13,6 @@ class ContactDiscoveryForUser
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Discover contact relations
|
* Discover contact relations
|
||||||
* @param string $url
|
|
||||||
*/
|
*/
|
||||||
public static function execute(int $uid)
|
public static function execute(int $uid)
|
||||||
{
|
{
|
||||||
|
|
|
@ -7,6 +7,7 @@
|
||||||
|
|
||||||
namespace Friendica\Worker;
|
namespace Friendica\Worker;
|
||||||
|
|
||||||
|
use Exception;
|
||||||
use Friendica\Core\Hook;
|
use Friendica\Core\Hook;
|
||||||
use Friendica\Core\Logger;
|
use Friendica\Core\Logger;
|
||||||
use Friendica\Core\Protocol;
|
use Friendica\Core\Protocol;
|
||||||
|
@ -21,6 +22,7 @@ use Friendica\Model\Item;
|
||||||
use Friendica\Model\Post;
|
use Friendica\Model\Post;
|
||||||
use Friendica\Model\Tag;
|
use Friendica\Model\Tag;
|
||||||
use Friendica\Model\User;
|
use Friendica\Model\User;
|
||||||
|
use Friendica\Network\HTTPException\InternalServerErrorException;
|
||||||
use Friendica\Protocol\Activity;
|
use Friendica\Protocol\Activity;
|
||||||
use Friendica\Protocol\ActivityPub;
|
use Friendica\Protocol\ActivityPub;
|
||||||
use Friendica\Protocol\ActivityPub\Transmitter;
|
use Friendica\Protocol\ActivityPub\Transmitter;
|
||||||
|
|
|
@ -23,7 +23,7 @@ class UpdateServerPeers
|
||||||
/**
|
/**
|
||||||
* Query the given server for their known peers
|
* Query the given server for their known peers
|
||||||
*
|
*
|
||||||
* @param string $gserver Server URL
|
* @param string $url Server URL
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public static function execute(string $url)
|
public static function execute(string $url)
|
||||||
|
|
Loading…
Reference in a new issue