diff options
author | Florian Pritz <bluewind@xinu.at> | 2022-04-10 11:46:21 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2022-04-10 11:46:21 +0200 |
commit | b401c4e13863143b38b8848595566801fcc1527f (patch) | |
tree | c6eae5ce18f519480ead73a16029dbf3c8e993aa /system/libraries/Session/OldSessionWrapper.php | |
parent | 3deea564901d69109ddd6f757ccff84e6f113997 (diff) | |
parent | 45576ef6e62b5ff59da67f1697ee8c57809c7719 (diff) |
Merge remote-tracking branch 'upstream/3.1-stable' into dev
Diffstat (limited to 'system/libraries/Session/OldSessionWrapper.php')
-rw-r--r-- | system/libraries/Session/OldSessionWrapper.php | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/system/libraries/Session/OldSessionWrapper.php b/system/libraries/Session/OldSessionWrapper.php index a8bc1d0c0..d013c777f 100644 --- a/system/libraries/Session/OldSessionWrapper.php +++ b/system/libraries/Session/OldSessionWrapper.php @@ -29,7 +29,7 @@ * @package CodeIgniter * @author EllisLab Dev Team * @copyright Copyright (c) 2022, CodeIgniter Foundation (https://codeigniter.com/) - * @license http://opensource.org/licenses/MIT MIT License + * @license https://opensource.org/licenses/MIT MIT License * @link https://codeigniter.com * @since Version 3.0.0 * @filesource @@ -47,7 +47,7 @@ defined('BASEPATH') OR exit('No direct script access allowed'); * @author Andrey Andreev * @link https://codeigniter.com/userguide3/libraries/sessions.html */ -class CI_SessionWrapper implements SessionHandlerInterface { +class CI_SessionWrapper implements SessionHandlerInterface, SessionUpdateTimestampHandlerInterface { protected $driver; @@ -85,4 +85,14 @@ class CI_SessionWrapper implements SessionHandlerInterface { { return $this->driver->gc($maxlifetime); } + + public function updateTimestamp($id, $data) + { + return $this->driver->updateTimestamp($id, $data); + } + + public function validateId($id) + { + return $this->driver->validateId($id); + } } |