From 44b53ca9ea63e57c5d3671197abb799e48eec0fd Mon Sep 17 00:00:00 2001
From: Jaime Perez Crespo <jaime.perez@uninett.no>
Date: Tue, 20 Jan 2015 13:46:26 +0100
Subject: [PATCH] Remove deprecated code handling the old
 'session.requestcache' configuration option.

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

diff --git a/lib/SimpleSAML/Session.php b/lib/SimpleSAML/Session.php
index 8f483475a..fae1e0206 100644
--- a/lib/SimpleSAML/Session.php
+++ b/lib/SimpleSAML/Session.php
@@ -596,13 +596,6 @@ class SimpleSAML_Session {
 					throw new Exception('The value of the session.datastore.timeout' .
 						' configuration option should be a positive integer.');
 				}
-			} else {
-				/* For backwards compatibility. */
-				$timeout = $configuration->getInteger('session.requestcache', 4*(60*60));
-				if ($timeout <= 0) {
-					throw new Exception('The value of the session.requestcache' .
-						' configuration option should be a positive integer.');
-				}
 			}
 		}
 
-- 
GitLab