From ba67ec8d8353165ec39a5db0b18abae7f5332b46 Mon Sep 17 00:00:00 2001
From: Olav Morken <olav.morken@uninett.no>
Date: Tue, 3 Jun 2008 05:19:26 +0000
Subject: [PATCH] Session: Update clean function to work with the new data
 store.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@587 44740490-163a-0410-bde0-09ae8108e29a
---
 lib/SimpleSAML/Session.php | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/lib/SimpleSAML/Session.php b/lib/SimpleSAML/Session.php
index 500391fca..439252793 100644
--- a/lib/SimpleSAML/Session.php
+++ b/lib/SimpleSAML/Session.php
@@ -428,8 +428,7 @@ class SimpleSAML_Session {
 		SimpleSAML_Logger::debug('Library - Session: Cleaning Session. Clean cache: ' . ($cleancache ? 'yes' : 'no') );
 	
 		if ($cleancache) {
-			$this->authnrequests = array();
-			$this->logoutrequest = null;
+			$this->dataStore = null;
 			$this->idp = null;
 		}
 		
-- 
GitLab