Skip to content
Snippets Groups Projects
Commit eb4b8917 authored by Olav Morken's avatar Olav Morken
Browse files

Session: Remove clean()-function.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2634 44740490-163a-0410-bde0-09ae8108e29a
parent 09ddd175
No related branches found
No related tags found
No related merge requests found
......@@ -463,29 +463,6 @@ class SimpleSAML_Session {
$this->attributes[$name] = $value;
}
/**
* Clean the session object.
*/
public function clean($cleancache = false) {
SimpleSAML_Logger::debug('Library - Session: Cleaning Session. Clean cache: ' . ($cleancache ? 'yes' : 'no') );
if ($cleancache) {
$this->dataStore = null;
$this->idp = null;
}
$this->authority = null;
$this->authenticated = null;
$this->attributes = null;
$this->sessionindex = null;
$this->nameid = null;
$this->dirty = TRUE;
}
/**
* Calculates the size of the session object after serialization
*
......
......@@ -18,7 +18,6 @@ if (!$config->getBoolean('enable.saml20-sp', TRUE))
// Destroy local session if exists.
$session->doLogout();
$session->clean();
$binding = SAML2_Binding::getCurrentBinding();
$message = $binding->receive();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment