Index: kernel-impl/src/main/java/org/sakaiproject/event/impl/BaseNotificationService.java
===================================================================
--- kernel-impl/src/main/java/org/sakaiproject/event/impl/BaseNotificationService.java (revision 107562)
+++ kernel-impl/src/main/java/org/sakaiproject/event/impl/BaseNotificationService.java (working copy)
@@ -181,6 +181,7 @@
*/
public void setEmailToReplyable(boolean value)
{
+ M_log.warn("Use of this setter (emailToReplyable) is deprecated: use notify.email.to.replyable instead");
m_emailsToReplyable = value;
}
@@ -195,6 +196,7 @@
*/
public void setEmailFromReplyable(boolean value)
{
+ M_log.warn("Use of this setter (emailFromReplyable) is deprecated: use notify.email.from.replyable instead");
m_emailsFromReplyable = value;
}
@@ -214,7 +216,7 @@
m_relativeAccessPoint = REFERENCE_ROOT;
- M_log.info(this + ".init()");
+ M_log.info(this + ".init() started");
// construct storage and read
m_storage = newStorage();
@@ -226,7 +228,11 @@
// start watching the events - only those generated on this server, not those from elsewhere
eventTrackingService().addLocalObserver(this);
- M_log.info(this + ".init()");
+ // set these from real sakai config values
+ m_emailsFromReplyable = serverConfigurationService().getBoolean("notify.email.from.replyable", false);
+ m_emailsToReplyable = serverConfigurationService().getBoolean("notify.email.to.replyable", false);
+
+ M_log.info(this + ".init() complete");
}
catch (Exception t)
{
Index: kernel-component/src/main/webapp/WEB-INF/event-components.xml
===================================================================
--- kernel-component/src/main/webapp/WEB-INF/event-components.xml (revision 107562)
+++ kernel-component/src/main/webapp/WEB-INF/event-components.xml (working copy)
@@ -65,8 +65,6 @@
SAKAI_NOTIFICATION
false
${auto.ddl}
- false
- false