From d9f0f546c5d8d8cc4aa198649c6b4c8af72946ec Mon Sep 17 00:00:00 2001
From: Jaime Perez Crespo <jaime.perez@uninett.no>
Date: Mon, 19 Jan 2015 14:18:46 +0100
Subject: [PATCH] Add $authority parameter to initLogoutReturn which was
 previously removed instead of making it mandatory.

---
 lib/SimpleSAML/Auth/Default.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/SimpleSAML/Auth/Default.php b/lib/SimpleSAML/Auth/Default.php
index 2f0b9934c..c57070850 100644
--- a/lib/SimpleSAML/Auth/Default.php
+++ b/lib/SimpleSAML/Auth/Default.php
@@ -147,10 +147,10 @@ class SimpleSAML_Auth_Default {
 	 * logging out. No checking is performed on the URL, so make sure to verify
 	 * it on beforehand if the URL is obtained from user input. Refer to
 	 * SimpleSAML_Utilities::checkURLAllowed() for more information.
-	 * @param string|NULL $authority The authentication source we are logging
+	 * @param string $authority The authentication source we are logging
 	 * out from.
 	 */
-	public static function initLogoutReturn($returnURL) {
+	public static function initLogoutReturn($returnURL, $authority) {
 		assert('is_string($returnURL)');
 		assert('is_string($authority)');
 
-- 
GitLab