Removed temporary code

This commit is contained in:
Michael 2020-08-02 01:38:10 +00:00
parent 03e2cbbf3d
commit d53f46b958
1 changed files with 0 additions and 1 deletions

View File

@ -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'])) {