mirror of
https://github.com/friendica/friendica
synced 2025-04-25 17:10:11 +00:00
Revert "Merge pull request #13463 from MrPetovan/task/imagegrid-improvement"
This reverts commitdd7bea4bd1
, reversing changes made toce16cd12ec
.
This commit is contained in:
parent
dd7bea4bd1
commit
56fb9be0f7
11 changed files with 46 additions and 147 deletions
|
@ -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 [];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue