From c52b4b967c30ac46c2a33f39d574dc50d53b097d Mon Sep 17 00:00:00 2001
From: Jaime Perez Crespo <jaime.perez@uninett.no>
Date: Mon, 19 Jan 2015 12:23:45 +0100
Subject: [PATCH] Remove getAttributes() from SimpleSAML_Session.

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

diff --git a/lib/SimpleSAML/Session.php b/lib/SimpleSAML/Session.php
index d6455cb82..d3ef7e471 100644
--- a/lib/SimpleSAML/Session.php
+++ b/lib/SimpleSAML/Session.php
@@ -536,20 +536,6 @@ class SimpleSAML_Session {
 	}
 
 
-	/**
-	 * Retrieve the attributes associated with this session.
-	 *
-	 * @return array|NULL  The attributes.
-	 * @deprecated
-	 */
-	public function getAttributes() {
-		if (!isset($this->authData[$this->authority]['Attributes'])) {
-			return NULL;
-		}
-		return $this->authData[$this->authority]['Attributes'];
-	}
-
-
 	/**
 	 * Calculates the size of the session object after serialization
 	 *
-- 
GitLab