Skip to content

Commit

Permalink
Cleaned up some constants and vm props
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianfish committed Nov 27, 2024
1 parent 15ab361 commit 8e3408b
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4235,9 +4235,6 @@
# DEFAULT: sakai.quartz.properties
#qrtzPropFileSakai@org.sakaiproject.api.app.scheduler.SchedulerManager=sakai.quartz.properties

## SAK-23597
# portal.title.shortdescription.show=false

## SAK-23737 - User types allowed to bypass password validation when editing account details
# An empty list (no property set) indicates that all types require password validation (default behavior)
# Which user types are provided and will therefore be allowed to bypass the password validation step
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ public class PortalConstants {
public static final String PROP_POWERED_BY_ALT_TEXT = "powered.alt";
public static final String PROP_POWERED_BY_IMAGE = "powered.img";
public static final String PROP_POWERED_BY_URL = "powered.url";
public static final String PROP_PUSH_NOTIFICATIONS = "portal.notifications.push.enabled";
public static final String PROP_SAKAI_VERSION = "version.sakai";
public static final String PROP_SERVICE_NAME = "ui.service";
public static final String PROP_SERVICE_VERSION = "version.service";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,6 @@ public class SkinnableCharonPortal extends HttpServlet implements Portal {
private boolean googleAnonIp;
private boolean displayHelpIcon;
private boolean mathJaxEnabled;
private boolean notificationsPushEnabled;
private boolean paSystemEnabled;
private boolean portalCookieWarnEnabled;
private boolean portalDirectUrlToolEnabled;
Expand Down Expand Up @@ -256,7 +255,6 @@ public void init(ServletConfig config) throws ServletException {
mathJaxEnabled = serverConfigurationService.getBoolean(PROP_MATHJAX_ENABLED, true);
mathJaxFormat = serverConfigurationService.getStrings(PROP_MATHJAX_FORMAT);
mathJaxPath = serverConfigurationService.getString(PROP_MATHJAX_SRC_PATH);
notificationsPushEnabled = serverConfigurationService.getBoolean(PROP_PUSH_NOTIFICATIONS, true);
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);
Expand Down Expand Up @@ -1025,8 +1023,6 @@ public PortalRenderContext startPageContext(String siteType, String title, Strin
// Format properties for MathJax.
rcontext.put("mathJaxFormat", mathJaxFormat);

rcontext.put("notificationsPushEnabled", notificationsPushEnabled);

rcontext.put("tasksEnabled" , tasksEnabled);

return rcontext;
Expand Down

0 comments on commit 8e3408b

Please sign in to comment.