mirror of
https://github.com/friendica/friendica
synced 2025-04-30 15:44:24 +02:00
26 lines
463 B
PHP
26 lines
463 B
PHP
<?php
|
|
|
|
// Copyright (C) 2010-2024, the Friendica project
|
|
// SPDX-FileCopyrightText: 2010-2024 the Friendica project
|
|
//
|
|
// SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
namespace Friendica\Worker;
|
|
|
|
use Friendica\DI;
|
|
use Friendica\Model\GServer;
|
|
|
|
class UpdateServerDirectories
|
|
{
|
|
/**
|
|
* Query global servers for their users
|
|
*/
|
|
public static function execute()
|
|
{
|
|
if (!DI::config()->get('system', 'poco_discovery')) {
|
|
return;
|
|
}
|
|
|
|
GServer::discover();
|
|
}
|
|
}
|