public static function isRequest()
{
return stristr($_SERVER['HTTP_ACCEPT'] ?? '', 'application/activity+json') ||
+ stristr($_SERVER['HTTP_ACCEPT'] ?? '', 'application/json') ||
stristr($_SERVER['HTTP_ACCEPT'] ?? '', 'application/ld+json');
}
case 'Tombstone':
$accounttype = User::ACCOUNT_TYPE_DELETED;
break;
- }
+ }
return $accounttype;
}