Skip to content

Commit

Permalink
Merge pull request #31 from JanssenProject/script_fix
Browse files Browse the repository at this point in the history
fix: don't do autoreplace in script to allow reuse Gluu scripts
  • Loading branch information
yuriyz authored Nov 26, 2021
2 parents d7b6354 + 0d6fe3f commit 9310198
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -282,14 +282,6 @@ private ReloadResult reloadCustomScriptConfigurations(
}
}

// Automatic package update '.xdi' --> '.org'
// TODO: Remove in CE 7.0
String scriptCode = loadedCustomScript.getScript();
if (scriptCode != null) {
scriptCode = scriptCode.replaceAll("org.gluu", "io.jans");
loadedCustomScript.setScript(scriptCode);
}

// Load script
BaseExternalType newCustomScriptExternalType = createExternalType(loadedCustomScript,
newConfigurationAttributes);
Expand Down

0 comments on commit 9310198

Please sign in to comment.