Merge branch 'MDL-83822-MOODLE_405_STABLE' of https://github.com/PhMemmel/moodle into MOODLE_405_STABLE
This commit is contained in:
@@ -577,6 +577,7 @@ class redis extends handler implements SessionHandlerInterface {
|
||||
|
||||
#[\Override]
|
||||
public function get_session_by_sid(string $sid): \stdClass {
|
||||
$this->init_redis_if_required();
|
||||
$keys = ["id", "state", "sid", "userid", "sessdata", "timecreated", "timemodified", "firstip", "lastip"];
|
||||
$sessiondata = $this->connection->hmget($this->sessionkeyprefix . $sid, $keys);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user