Session - Remove unneeded cookie parameter

This commit is contained in:
nupplaPhil 2019-12-29 00:03:58 +01:00
parent ae0421f321
commit 673c4537e4
No known key found for this signature in database
GPG key ID: D8365C3D36B77D90
4 changed files with 5 additions and 23 deletions

View file

@ -2,8 +2,6 @@
namespace Friendica\Core\Session;
use Friendica\Model\User\Cookie;
/**
* Usable for backend processes (daemon/worker) and testing
*
@ -11,10 +9,8 @@ use Friendica\Model\User\Cookie;
*/
final class Memory extends AbstractSession implements ISession
{
public function __construct(Cookie $cookie)
public function __construct()
{
parent::__construct($cookie);
// Backward compatibility until all Session variables are replaced
// with the Session class
$_SESSION = [];