diff --git a/lib/SimpleSAML/Session.php b/lib/SimpleSAML/Session.php
index 8f483475ae2bd5daffa09b0a0f53872ba2bd4620..fae1e02065b0e67e86ff0b02c3f7ebb45118a84d 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.');
-				}
 			}
 		}