if (name.equals(SocialActivityCounterConstants.NAME_CONTRIBUTION)) {
ownerType = SocialActivityCounterConstants.TYPE_CREATOR;
}
return
SocialActivityCounterLocalServiceUtil.fetchLatestActivityCounter(
<BUG>groupId, classNameId, classPk, name, ownerType);
</BUG>
}
public static SocialActivityLimit getActivityLimit(
long groupId, User user, AssetEntry assetEntry, int activityType,

if (name.equals(SocialActivityCounterConstants.NAME_CONTRIBUTION)) {
ownerType = SocialActivityCounterConstants.TYPE_CREATOR;
}
return
SocialActivityCounterLocalServiceUtil.fetchLatestActivityCounter(
groupId, classNameId, classPK, name, ownerType);
}
public static SocialActivityLimit getActivityLimit(
long groupId, User user, AssetEntry assetEntry, int activityType,
