Don't be such a stickler about our ids.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@855 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
@@ -24,6 +24,7 @@ package com.threerings.parlor.rating.server.persist;
|
||||
import java.sql.Timestamp;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collection;
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
@@ -215,7 +216,7 @@ public class RatingRepository extends DepotRepository
|
||||
/**
|
||||
* Deletes all rating records for the specified players.
|
||||
*/
|
||||
public void purgePlayers (Set<Integer> playerIds)
|
||||
public void purgePlayers (Collection<Integer> playerIds)
|
||||
{
|
||||
deleteAll(RatingRecord.class, new Where(new In(RatingRecord.PLAYER_ID, playerIds)), null);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user