From ae5695fcc5348434569f2c35d8d0a95e552b0006 Mon Sep 17 00:00:00 2001
From: Jaime Perez Crespo <jaime.perez@uninett.no>
Date: Tue, 20 Jan 2015 14:35:37 +0100
Subject: [PATCH] Remove deprecated parameter from
 SimpleSAML_Utilities::generateRandomBytes().

---
 lib/SimpleSAML/Utilities.php | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/lib/SimpleSAML/Utilities.php b/lib/SimpleSAML/Utilities.php
index 8cbdbfbd4..3c8b2bcc8 100644
--- a/lib/SimpleSAML/Utilities.php
+++ b/lib/SimpleSAML/Utilities.php
@@ -1042,13 +1042,12 @@ class SimpleSAML_Utilities {
 	 * This function generates a binary string containing random bytes.
 	 *
 	 * It is implemented as a wrapper of the openssl_random_pseudo_bytes function,
-     * available since PHP 5.3.0.
+	 * available since PHP 5.3.0.
 	 *
 	 * @param int $length The number of random bytes to return.
-     * @param boolean $fallback Deprecated.
 	 * @return string A string of $length random bytes.
 	 */
-	public static function generateRandomBytes($length, $fallback = TRUE) {
+	public static function generateRandomBytes($length) {
 		assert('is_int($length)');
 
         return openssl_random_pseudo_bytes($length);
-- 
GitLab