Revert "Merge pull request #13463 from MrPetovan/task/imagegrid-improvement"
This reverts commitdd7bea4bd1, reversing changes made toce16cd12ec.
This commit is contained in:
@@ -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 [];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user