From 49df5abdf6976f82c1f40272272b6881531a173d Mon Sep 17 00:00:00 2001
From: Olav Morken <olav.morken@uninett.no>
Date: Wed, 3 Oct 2012 05:55:25 +0000
Subject: [PATCH] smartnameattribute: Deprecate filter.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@3184 44740490-163a-0410-bde0-09ae8108e29a
---
 modules/smartnameattribute/lib/Auth/Process/SmartName.php | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/modules/smartnameattribute/lib/Auth/Process/SmartName.php b/modules/smartnameattribute/lib/Auth/Process/SmartName.php
index b969c8d5f..e1fea266c 100644
--- a/modules/smartnameattribute/lib/Auth/Process/SmartName.php
+++ b/modules/smartnameattribute/lib/Auth/Process/SmartName.php
@@ -66,6 +66,8 @@ class sspmod_smartnameattribute_Auth_Process_SmartName extends SimpleSAML_Auth_P
 		assert('is_array($request)');
 		assert('array_key_exists("Attributes", $request)');
 
+		SimpleSAML_Logger::warning('You are using the deprecated smartnameattribute:SmartName filter. You should replace it with smartattributes:SmartName instead.');
+
 		$attributes =& $request['Attributes'];
 		
 		$fullname = $this->getFullName($attributes);
-- 
GitLab