Removed temporary code
This commit is contained in:
@@ -36,7 +36,6 @@ class UpdateServerDirectory
|
|||||||
*/
|
*/
|
||||||
public static function execute(array $gserver)
|
public static function execute(array $gserver)
|
||||||
{
|
{
|
||||||
$gserver = DBA::selectFirst('gserver', [], ['url' => $gserver['url']]);
|
|
||||||
if ($gserver['directory-type'] == GServer::DT_MASTODON) {
|
if ($gserver['directory-type'] == GServer::DT_MASTODON) {
|
||||||
self::discoverMastodonDirectory($gserver);
|
self::discoverMastodonDirectory($gserver);
|
||||||
} elseif (!empty($gserver['poco'])) {
|
} elseif (!empty($gserver['poco'])) {
|
||||||
|
|||||||
Reference in New Issue
Block a user