Index: branches/5.1.x/core/kernel/session/session.php =================================================================== diff -u -N -r14360 -r14438 --- branches/5.1.x/core/kernel/session/session.php (.../session.php) (revision 14360) +++ branches/5.1.x/core/kernel/session/session.php (.../session.php) (revision 14438) @@ -1,6 +1,6 @@ TableName.' WHERE '.$this->IDField.' = '.$this->Conn->qstr($session->SID); - $this->Conn->Query($query); + $this->DeleteSessions( Array ($session->SID), SESSION_LOG_LOGGED_OUT ); - $query = ' DELETE FROM '.$this->SessionDataTable.' WHERE '.$this->IDField.' = '.$this->Conn->qstr($session->SID); - $this->Conn->Query($query); - $this->DirectVars = $this->ChangedDirectVars = $this->OriginalData = Array(); }