Skip to content
Snippets Groups Projects
Commit 39846678 authored by Jaime Perez Crespo's avatar Jaime Perez Crespo
Browse files

Remove setLogoutState() and getLogoutState() from SimpleSAML_Session.

parent 5b2a9c45
No related branches found
No related tags found
No related merge requests found
......@@ -951,37 +951,6 @@ class SimpleSAML_Session {
}
/**
* Set the logout state for this session.
*
* @param array $state The state array.
* @deprecated
*/
public function setLogoutState(array $state) {
assert('isset($this->authData[$this->authority])');
$this->dirty = TRUE;
$this->authData[$this->authority]['LogoutState'] = $state;
}
/**
* Retrieve the logout state for this session.
*
* @return array The logout state. If no logout state is set, an empty array will be returned.
* @deprecated
*/
public function getLogoutState() {
assert('isset($this->authData[$this->authority])');
if (!isset($this->authData[$this->authority]['LogoutState'])) {
return array();
}
return $this->authData[$this->authority]['LogoutState'];
}
/**
* Get the current persistent authentication state.
*
......
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