diff --git a/src/main/java/org/olat/upgrade/OLATUpgrade_14_2_0.java b/src/main/java/org/olat/upgrade/OLATUpgrade_14_2_0.java index 47f8ce1b2ccdf7dba326cb851a2d5575f6d7a8c8..4fcea70480e34298e40c0defec1fadcda10d7afb 100644 --- a/src/main/java/org/olat/upgrade/OLATUpgrade_14_2_0.java +++ b/src/main/java/org/olat/upgrade/OLATUpgrade_14_2_0.java @@ -169,7 +169,7 @@ public class OLATUpgrade_14_2_0 extends OLATUpgrade { List<Publisher> publishers = getPublisher(infoSubscription); for(Publisher publisher:publishers) { Subscriber subscriber = notificationsManager.getSubscriber(identity, publisher); - if(subscriber == null || !subscriber.isEnabled()) { + if(subscriber == null) { SubscriberImpl sub = new SubscriberImpl(publisher, identity); sub.setEnabled(false); sub.setCreationDate(new Date());