mirror of
https://github.com/friendica/friendica
synced 2024-09-25 20:11:21 +02:00
19 lines
441 B
PHP
19 lines
441 B
PHP
<?php
|
|
|
|
namespace Friendica\Core\Session;
|
|
|
|
/**
|
|
* Usable for backend processes (daemon/worker) and testing
|
|
*
|
|
* @todo after replacing the last direct $_SESSION call, use a internal array instead of the global variable
|
|
*/
|
|
final class Memory extends AbstractSession implements ISession
|
|
{
|
|
public function __construct()
|
|
{
|
|
// Backward compatibility until all Session variables are replaced
|
|
// with the Session class
|
|
$_SESSION = [];
|
|
}
|
|
}
|