From a67bc29497a18e744daced1e6536dd875e57efb5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Mantas=20Mikul=C4=97nas?= <mantas@utenos-kolegija.lt>
Date: Sat, 5 Sep 2015 17:08:40 +0300
Subject: [PATCH] Fix overeager search/replace in attributemaps

---
 attributemap/deprecatedSchacNS.php | 2 +-
 attributemap/newSchacNS.php        | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/attributemap/deprecatedSchacNS.php b/attributemap/deprecatedSchacNS.php
index c6ed105b8..f47716324 100644
--- a/attributemap/deprecatedSchacNS.php
+++ b/attributemap/deprecatedSchacNS.php
@@ -4,7 +4,7 @@
  */
 
 define('SCHAC_OLD_NS', 'urn:mace:terena.org:attribute-def:');
-define('SCHAC_NEW_NS', SCHAC_NEW_NS.'');
+define('SCHAC_NEW_NS', 'urn:schac:attribute-def:');
 
 $attributemap = array(
     SCHAC_NEW_NS.'schacCountryOfCitizenship' => SCHAC_OLD_NS.'schacCountryOfCitizenship',
diff --git a/attributemap/newSchacNS.php b/attributemap/newSchacNS.php
index 798af0341..80f621c08 100644
--- a/attributemap/newSchacNS.php
+++ b/attributemap/newSchacNS.php
@@ -4,7 +4,7 @@
  */
 
 define('SCHAC_OLD_NS', 'urn:mace:terena.org:attribute-def:');
-define('SCHAC_NEW_NS', SCHAC_NEW_NS.'');
+define('SCHAC_NEW_NS', 'urn:schac:attribute-def:');
 
 $attributemap = array(
     SCHAC_OLD_NS.'schacCountryOfCitizenship' => SCHAC_NEW_NS.'schacCountryOfCitizenship',
-- 
GitLab