summaryrefslogtreecommitdiffstats
path: root/system/libraries/Session/OldSessionWrapper.php
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2022-02-22 11:16:26 +0100
committerAndrey Andreev <narf@devilix.net>2022-02-22 11:16:26 +0100
commitd4b15bcdbd6a06e01d8de927c1d26f8f5bc4ed6c (patch)
tree182d0c9991edf51bc0772954153f0a87157762f9 /system/libraries/Session/OldSessionWrapper.php
parentc7bf8487eafdaeeb137401eb6f63022ec8798f31 (diff)
[ci skip] SessionUpdateTimestampHandlerInterface
Diffstat (limited to 'system/libraries/Session/OldSessionWrapper.php')
-rw-r--r--system/libraries/Session/OldSessionWrapper.php12
1 files changed, 11 insertions, 1 deletions
diff --git a/system/libraries/Session/OldSessionWrapper.php b/system/libraries/Session/OldSessionWrapper.php
index a8bc1d0c0..c6f8a631d 100644
--- a/system/libraries/Session/OldSessionWrapper.php
+++ b/system/libraries/Session/OldSessionWrapper.php
@@ -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);
+ }
}