Skip to content
This repository was archived by the owner on Jan 23, 2025. It is now read-only.

Commit f883f96

Browse files
authored
remove logic to remove private task registrants if switching to public
1 parent e250af0 commit f883f96

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

services/contest_service_facade/src/java/main/com/topcoder/service/facade/contest/ejb/ContestServiceFacadeBean.java

-5
Original file line numberDiff line numberDiff line change
@@ -4437,11 +4437,6 @@ public SoftwareCompetition updateSoftwareContest(TCSubject tcSubject, SoftwareCo
44374437

44384438
if (isPrivateProject(contest)){
44394439
contest.getProjectHeader().setProperty(ProjectPropertyType.RATED_PROJECT_PROPERTY_KEY, "No");
4440-
}else {
4441-
if (oldProject.getProperty(ProjectPropertyType.PRIVATE_PROJECT) != null && oldProject.getProperty(ProjectPropertyType.PRIVATE_PROJECT).equals("1")){
4442-
//remove current registrant
4443-
Set<Long> preUsers = updatePreRegister(tcSubject, contest, new HashSet<Long>());
4444-
}
44454440
}
44464441

44474442

0 commit comments

Comments
 (0)