From 552f056e0a28dc89dadb9be35ecd08dd19b65756 Mon Sep 17 00:00:00 2001
From: Jaime Perez Crespo <jaime.perez@uninett.no>
Date: Mon, 19 Jan 2015 11:57:50 +0100
Subject: [PATCH] Remove setSessionDuration() from SimpleSAML_Session.

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

diff --git a/lib/SimpleSAML/Session.php b/lib/SimpleSAML/Session.php
index fafc8f275..c7865985d 100644
--- a/lib/SimpleSAML/Session.php
+++ b/lib/SimpleSAML/Session.php
@@ -527,23 +527,6 @@ class SimpleSAML_Session {
 	}
 
 
-	/**
-	 * Set the lifetime of our current authentication session.
-	 *
-	 * @param int $duration The number of seconds this authentication session is valid.
-	 * @deprecated
-	 */
-	public function setSessionDuration($duration) {
-		assert('is_int($duration)');
-		assert('isset($this->authData[$this->authority])');
-
-		SimpleSAML_Logger::debug('Library - Session: Set session duration ' . $duration);
-		$this->dirty = true;
-
-		$this->authData[$this->authority]['Expire'] = time() + $duration;
-	}
-
-
 	/**
 	 * Is the session representing an authenticated user, and is the session still alive.
 	 * This function will return false after the user has timed out.
-- 
GitLab