From 527aaafe603f7b283affbe0caceac50a63bc16c1 Mon Sep 17 00:00:00 2001
From: Jaime Perez Crespo <jaime.perez@uninett.no>
Date: Mon, 19 Jan 2015 11:48:11 +0100
Subject: [PATCH] Remove setSessionIndex() and getSessionIndex() from
 SimpleSAML_Session.

---
 lib/SimpleSAML/Session.php | 34 ----------------------------------
 1 file changed, 34 deletions(-)

diff --git a/lib/SimpleSAML/Session.php b/lib/SimpleSAML/Session.php
index 199e72f1a..daacada86 100644
--- a/lib/SimpleSAML/Session.php
+++ b/lib/SimpleSAML/Session.php
@@ -396,40 +396,6 @@ class SimpleSAML_Session {
 	}
 
 
-	/**
-	 * Set the SessionIndex we received from our IdP.
-	 *
-	 * @param string|NULL $sessionindex Our SessionIndex.
-	 * @deprecated
-	 */
-	public function setSessionIndex($sessionindex) {
-		assert('is_string($sessionindex) || is_null($sessionindex)');
-		assert('isset($this->authData[$this->authority])');
-
-		SimpleSAML_Logger::debug('Library - Session: Set sessionindex: ' . $sessionindex);
-		$this->dirty = true;
-		if ($sessionindex !== NULL) {
-			$this->authData[$this->authority]['saml:sp:SessionIndex'] = $sessionindex;
-		} else {
-			unset($this->authData[$this->authority]['saml:sp:SessionIndex']);
-		}
-	}
-
-
-	/**
-	 * Retrieve our SessionIndex.
-	 *
-	 * @return string|NULL Our SessionIndex.
-	 * @deprecated
-	 */
-	public function getSessionIndex() {
-		if (!isset($this->authData[$this->authority]['saml:sp:SessionIndex'])) {
-			return NULL;
-		}
-		return $this->authData[$this->authority]['saml:sp:SessionIndex'];
-	}
-
-
 	/**
 	 * Set our current NameID.
 	 *
-- 
GitLab