summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
authorDerek Jones <derek.jones@ellislab.com>2008-01-30 16:59:12 +0100
committerDerek Jones <derek.jones@ellislab.com>2008-01-30 16:59:12 +0100
commit63df95edbaaa6f94ee8e37128a4577909a9574a1 (patch)
tree1d58a0f81230ca9eb389756e74f61a5d349325a2 /system
parentc38c7037d0e8028912030fa3317b6180e62d8bd8 (diff)
removed last_visit from the Session class
Diffstat (limited to 'system')
-rw-r--r--system/libraries/Session.php10
1 files changed, 2 insertions, 8 deletions
diff --git a/system/libraries/Session.php b/system/libraries/Session.php
index a92db0ecc..2cdd50c23 100644
--- a/system/libraries/Session.php
+++ b/system/libraries/Session.php
@@ -69,8 +69,8 @@ class CI_Session {
* is set in the config file. If the developer
* is doing any sort of time localization they
* might want to set the session time to GMT so
- * they can offset the "last_activity" and
- * "last_visit" times based on each user's locale.
+ * they can offset the "last_activity" time
+ * based on each user's locale.
*
*/
@@ -326,7 +326,6 @@ class CI_Session {
}
// Write the cookie
- $this->userdata['last_visit'] = 0;
$this->sess_write();
}
@@ -340,11 +339,6 @@ class CI_Session {
*/
function sess_update()
{
- if (($this->userdata['last_activity'] + $this->sess_length) < $this->now)
- {
- $this->userdata['last_visit'] = $this->userdata['last_activity'];
- }
-
// Save the old session id so we know which record to
// update in the database if we need it
$old_sessid = $this->userdata['session_id'];