Skip to content
Snippets Groups Projects
Commit 971cc836 authored by Jaime Pérez Crespo's avatar Jaime Pérez Crespo
Browse files

Merge pull request #253 from UtenosKolegija/namespace

Fix new attributemaps
parents 2e229475 71ebc760
Branches
Tags
No related merge requests found
...@@ -3,8 +3,13 @@ ...@@ -3,8 +3,13 @@
* This file provides translations from the schac namespace to the old, deprecated namespace provided by TERENA. * This file provides translations from the schac namespace to the old, deprecated namespace provided by TERENA.
*/ */
define('SCHAC_OLD_NS', 'urn:mace:terena.org:attribute-def:'); if (!defined('SCHAC_OLD_NS')) {
define('SCHAC_NEW_NS', SCHAC_NEW_NS.''); define('SCHAC_OLD_NS', 'urn:mace:terena.org:attribute-def:');
}
if (!defined('SCHAC_NEW_NS')) {
define('SCHAC_NEW_NS', 'urn:schac:attribute-def:');
}
$attributemap = array( $attributemap = array(
SCHAC_NEW_NS.'schacCountryOfCitizenship' => SCHAC_OLD_NS.'schacCountryOfCitizenship', SCHAC_NEW_NS.'schacCountryOfCitizenship' => SCHAC_OLD_NS.'schacCountryOfCitizenship',
......
...@@ -3,8 +3,13 @@ ...@@ -3,8 +3,13 @@
* This file provides translations from the deprecated schac namespace provided by TERENA, to the new namespace. * This file provides translations from the deprecated schac namespace provided by TERENA, to the new namespace.
*/ */
define('SCHAC_OLD_NS', 'urn:mace:terena.org:attribute-def:'); if (!defined('SCHAC_OLD_NS')) {
define('SCHAC_NEW_NS', SCHAC_NEW_NS.''); define('SCHAC_OLD_NS', 'urn:mace:terena.org:attribute-def:');
}
if (!defined('SCHAC_NEW_NS')) {
define('SCHAC_NEW_NS', 'urn:schac:attribute-def:');
}
$attributemap = array( $attributemap = array(
SCHAC_OLD_NS.'schacCountryOfCitizenship' => SCHAC_NEW_NS.'schacCountryOfCitizenship', SCHAC_OLD_NS.'schacCountryOfCitizenship' => SCHAC_NEW_NS.'schacCountryOfCitizenship',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment