Revert "Merge pull request #13463 from MrPetovan/task/imagegrid-improvement"

This reverts commit dd7bea4bd1, reversing
changes made to ce16cd12ec.
This commit is contained in:
Hypolite Petovan 2023-09-24 16:24:28 -04:00
parent dd7bea4bd1
commit 56fb9be0f7
11 changed files with 46 additions and 147 deletions

View file

@ -813,14 +813,12 @@ class Profile
/**
* Set the visitor cookies (see remote_user()) for signed HTTP requests
*
* @param array $server The content of the $_SERVER superglobal
(
* @return array Visitor contact array
* @throws InternalServerErrorException
*/
public static function addVisitorCookieForHTTPSigner(array $server): array
public static function addVisitorCookieForHTTPSigner(): array
{
$requester = HTTPSignature::getSigner('', $server);
$requester = HTTPSignature::getSigner('', $_SERVER);
if (empty($requester)) {
return [];
}