activity.getActivitySetId());
socialActivityPersistence.remove(activity);</BUG>
}
activities = socialActivityPersistence.findByReceiverUserId(
userId, QueryUtil.ALL_POS, QueryUtil.ALL_POS);
<BUG>for (SocialActivity activity : activities) {
socialActivitySetLocalService.decrementActivityCount(
activity.getActivitySetId());
socialActivityPersistence.remove(activity);</BUG>
}

activity.getActivitySetId());
}
socialActivityPersistence.remove(activity);
}
activities = socialActivityPersistence.findByReceiverUserId(
userId, QueryUtil.ALL_POS, QueryUtil.ALL_POS);
for (SocialActivity activity : activities) {
if (PropsValues.SOCIAL_ACTIVITY_SETS_ENABLED) {
socialActivitySetLocalService.decrementActivityCount(
activity.getActivitySetId());
}
socialActivityPersistence.remove(activity);
}
