Skip to content

Commit

Permalink
remove duplicated config property
Browse files Browse the repository at this point in the history
  • Loading branch information
kosarko committed Jan 4, 2016
1 parent c305487 commit e43f048
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ private Element disseminateItem(Item item) throws CrosswalkException, IOExceptio
String remSource = ConfigurationManager.getProperty("oai", "ore.authoritative.source");
if (remSource == null || remSource.equalsIgnoreCase("oai"))
{
oaiUrl = ConfigurationManager.getProperty("lr", "lr.dspace.oai.url");
oaiUrl = ConfigurationManager.getProperty("oai", "dspace.oai.url");
}
else if (remSource.equalsIgnoreCase("xmlui") || remSource.equalsIgnoreCase("manakin"))
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public void addBody(Map objectModel, Division div) throws WingException {
dspace.addItem(Site.getSiteHandle());

dspace.addLabel("OAI url");
String oai_url = notempty(ConfigurationManager.getProperty("lr", "lr.dspace.oai.url"));
String oai_url = notempty(ConfigurationManager.getProperty("oai", "dspace.oai.url"));
dspace.addItemXref(oai_url, oai_url);

dspace.addLabel("Solr log url");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@

<xsl:variable name="query-string" select="/dri:document/dri:meta/dri:pageMeta/dri:metadata[@element='request'][@qualifier='queryString']" />

<xsl:variable name="oai-url" select="confman:getProperty('lr', 'lr.dspace.oai.url')" />
<xsl:variable name="oai-url" select="confman:getProperty('oai', 'dspace.oai.url')" />

<!-- dynamically select the static html file based on requested page name -->
<xsl:variable name="static-page-name">
Expand Down
3 changes: 0 additions & 3 deletions dspace/config/modules/lr.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -142,9 +142,6 @@ lr.shibboleth.discofeed.url = ${lr.shibboleth.discofeed.url}

lr.aai.url = ${lr.aai.url}

# The base URL of the OAI webapp (do not include /request).
lr.dspace.oai.url = ${dspace.baseUrl}/oai

# page with info about harvesting the repository
lr.harvester.info.url = ${harvesterInfo.url}

Expand Down

0 comments on commit e43f048

Please sign in to comment.