Removed obsolete comment

This commit is contained in:
Dennis Aulenbacher committed 2021-04-12 17:13:15 +02:00
1 parent 94d4c077bb
commit 2e800d5231
1 file changed
-2
@@ -61,7 +61,6 @@ public class ProviderSubscriptionUpdateTask implements SubscriptionApiService.On
// No subscriptions so we need to remove all current subscriptions of user for the provider
Subscription emptySubscription = createEmptySubscription(provider, null);
getSecurityService().updateUserSubscription(user.getName(), emptySubscription);
// getSecurityService().removeProviderUserSubscriptions(user.getName(), providerName);
} else if (userSubscriptions != null) {
if (currentSubscriptions != null) {
Map<String, Boolean> existingPlans = getExistingPlans(userSubscriptions);
@@ -75,7 +74,6 @@ public class ProviderSubscriptionUpdateTask implements SubscriptionApiService.On
}
}
}
for (Subscription subscription : userSubscriptions) {
getSecurityService().updateUserSubscription(user.getName(), subscription);
}