X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FCore%2FSession%2FMemory.php;h=f8d02b55389596ba683870ecb0824cb899590cc1;hb=02c40ad1cbc66cadea77180b8b9340521381cce5;hp=b39234db23ea225957d7578560d79a668cda8e43;hpb=b9f8762eb3b4f125dcdf5335cd992466b79a5ef6;p=friendica.git diff --git a/src/Core/Session/Memory.php b/src/Core/Session/Memory.php index b39234db23..f8d02b5538 100644 --- a/src/Core/Session/Memory.php +++ b/src/Core/Session/Memory.php @@ -2,6 +2,9 @@ namespace Friendica\Core\Session; +use Friendica\Core\Config\Configuration; +use Friendica\Model\User\Cookie; + /** * Usable for backend processes (daemon/worker) and testing * @@ -9,6 +12,11 @@ namespace Friendica\Core\Session; */ final class Memory extends Native { + public function __construct(Configuration $config, Cookie $cookie) + { + $this->cookie = $cookie; + } + public function start() { // Backward compatibility until all Session variables are replaced