Skip to content
Snippets Groups Projects
Commit 0dc16115 authored by Simon Urli's avatar Simon Urli
Browse files

XWIKI-22955: DefaultNotificationCacheManager shouldn't rely on a document configuration source

  * Ensure to use the proper configuration source component in
    notification configuration

(cherry picked from commit 277d1aa5)
parent 09c6258a
No related branches found
No related tags found
No related merge requests found
......@@ -20,6 +20,7 @@
package org.xwiki.notifications.internal;
import javax.inject.Inject;
import javax.inject.Named;
import javax.inject.Singleton;
import org.xwiki.component.annotation.Component;
......@@ -39,6 +40,7 @@ public class DefaultNotificationConfiguration implements NotificationConfigurati
private static final String CONFIGURATION_PREFIX = "notifications.";
@Inject
@Named("xwikiproperties")
private ConfigurationSource configurationSource;
@Override
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment