mirror of
https://github.com/friendica/friendica
synced 2025-04-24 00:30:11 +00:00
Remove $_SERVER superglobal dependency from Profile::addVisitorCookieForHTTPSigner
This commit is contained in:
parent
6d009a3e0f
commit
e01040a2e8
2 changed files with 6 additions and 4 deletions
|
@ -77,7 +77,7 @@ class Photo extends BaseApi
|
|||
throw new NotModifiedException();
|
||||
}
|
||||
|
||||
Profile::addVisitorCookieForHTTPSigner();
|
||||
Profile::addVisitorCookieForHTTPSigner($this->server);
|
||||
|
||||
$customsize = 0;
|
||||
$square_resize = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue