Standards
This commit is contained in:
parent
c975d0f799
commit
8608e8ff63
|
@ -850,7 +850,7 @@ class GServer
|
|||
*/
|
||||
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()) {
|
||||
return $serverdata;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user