Standards

This commit is contained in:
Michael 2019-12-24 05:04:11 +00:00
parent c975d0f799
commit 8608e8ff63

View file

@ -850,7 +850,7 @@ class GServer
*/ */
public static function checkMastodonDirectory(string $url, array $serverdata) public static function checkMastodonDirectory(string $url, array $serverdata)
{ {
$curlResult = Network::curl($url. '/api/v1/directory?limit=1'); $curlResult = Network::curl($url . '/api/v1/directory?limit=1');
if (!$curlResult->isSuccess()) { if (!$curlResult->isSuccess()) {
return $serverdata; return $serverdata;
} }