Skip to content

Commit

Permalink
SAK-50516 Portal - Change default to portal.tool.direct.url.enabled t…
Browse files Browse the repository at this point in the history
…o false
  • Loading branch information
csev committed Sep 25, 2024
1 parent 0892f15 commit a55a1dc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@

# Direct URLs to tools
# enables a link icon for each tool in the portal so you can get a direct URL to the tool.
# DEFAULT: true
# DEFAULT: false
# portal.tool.direct.url.enabled=false

# In conjunction with the above, if set to true, shows the option to shorten that link.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ shortenedurl.implementation=org.sakaiproject.shortenedurl.api.RandomisedUrlServi
shortenedurl.resources.enabled=true

# enables a link icon for each tool in the portal so you can get a direct URL to the tool.
portal.tool.direct.url.enabled=true
portal.tool.direct.url.enabled=false

# in conjunction with the above, if set to true, shows the option to shorten that link.
shortenedurl.portal.tool.enabled=true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ public void init(ServletConfig config) throws ServletException {
paSystemEnabled = serverConfigurationService.getBoolean(PROP_PA_SYSTEM_ENABLED, true);
portalCookieWarnUrl = serverConfigurationService.getString(PROP_PORTAL_COOKIE_WARN_URL, "/library/content/cookie_policy.html");
portalCookieWarnEnabled = serverConfigurationService.getBoolean(PROP_PORTAL_COOKIE_WARN_ENABLED,false);
portalDirectUrlToolEnabled = serverConfigurationService.getBoolean(PROP_PORTAL_DIRECT_TOOL_URL_ENABLED, true);
portalDirectUrlToolEnabled = serverConfigurationService.getBoolean(PROP_PORTAL_DIRECT_TOOL_URL_ENABLED, false);
portalLogOutUrl = serverConfigurationService.getLoggedOutUrl();
portalLoginIcon = StringUtils.trimToNull(serverConfigurationService.getString(PROP_PORTAL_LOGIN_ICON));
portalLoginText = StringUtils.trimToNull(serverConfigurationService.getString(PROP_PORTAL_LOGIN_TEXT));
Expand Down

0 comments on commit a55a1dc

Please sign in to comment.