summaryrefslogtreecommitdiffstats
path: root/system/libraries/Session/Session.php
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2021-02-04 15:29:36 +0100
committerAndrey Andreev <narf@devilix.net>2021-02-04 15:29:36 +0100
commit3a6259b85f397c05f312f4124f90cfa534df576a (patch)
tree5ed1cbdc366dd78ba2329883bef579391767a460 /system/libraries/Session/Session.php
parent119ebee192980b151d853bdc413d14a3760462ae (diff)
[ci skip] Remove a comment made obsolete by PR #6013
Diffstat (limited to 'system/libraries/Session/Session.php')
-rw-r--r--system/libraries/Session/Session.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/system/libraries/Session/Session.php b/system/libraries/Session/Session.php
index 79fc724a8..e36487d25 100644
--- a/system/libraries/Session/Session.php
+++ b/system/libraries/Session/Session.php
@@ -396,8 +396,6 @@ class CI_Session {
{
$_SESSION['__ci_vars'][$key] = 'old';
}
- // Hacky, but 'old' will (implicitly) always be less than time() ;)
- // DO NOT move this above the 'new' check!
elseif ($value === 'old' || $value < $current_time)
{
unset($_SESSION[$key], $_SESSION['__ci_vars'][$key]);