Project

General

Profile

« Previous | Next » 

Revision 62369

Clean up code use only the method to get managers without session cookie
add more checks if community is enabled for notifications or not

View differences:

EmailScheduler.java
45 45
                .getRequiredWebApplicationContext(servletContextEvent.getServletContext())
46 46
                .getAutowireCapableBeanFactory()
47 47
                .autowireBean(this);
48

  
48
        logger.debug("Initializing EmailScheduler with beautySleep " + beautySleep + " and begin time " + targetHour + ":" + targetMinute + ":" + targetSecond + " and email sender " + emailSender);
49 49
        if(sendEmailNotifications) {
50 50
            logger.debug("Initializing EmailScheduler with beautySleep " + beautySleep + " and begin time " + targetHour + ":" + targetMinute + ":" + targetSecond + " and email sender " + emailSender);
51 51
            delay = getInitialDelaySeconds(Integer.parseInt(targetHour), Integer.parseInt(targetMinute), Integer.parseInt(targetSecond));

Also available in: Unified diff