Removed temporary code

pull/8960/head
Michael 2020-08-02 01:38:10 +00:00
rodzic 03e2cbbf3d
commit d53f46b958
1 zmienionych plików z 0 dodań i 1 usunięć

Wyświetl plik

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