Index: branches/5.3.x/core/kernel/session/inp_session_storage.php =================================================================== diff -u -N -r15677 -r15928 --- branches/5.3.x/core/kernel/session/inp_session_storage.php (.../inp_session_storage.php) (revision 15677) +++ branches/5.3.x/core/kernel/session/inp_session_storage.php (.../inp_session_storage.php) (revision 15928) @@ -1,7 +1,7 @@ DirectVars['LastAccessed'] > $this->SessionTimeout/10) { $this->SetField($this->TimestampField, $time + $this->SessionTimeout); @@ -68,7 +68,7 @@ function GetExpiredSIDs() { - $query = ' SELECT '.$this->IDField.' FROM '.$this->TableName.' WHERE '.$this->TimestampField.' < '.(adodb_mktime()); + $query = ' SELECT '.$this->IDField.' FROM '.$this->TableName.' WHERE '.$this->TimestampField.' < '.(time()); $ret = $this->Conn->GetCol($query); if($ret) { $this->DeleteEditTables();