There is no need to delete collections, at least not manually.

This commit is contained in:
marcins78@gmail.com
2012-01-12 17:40:16 +00:00
parent 0e04dfcd05
commit 7262b19721
2 changed files with 0 additions and 4 deletions

View File

@@ -107,7 +107,6 @@ public class CollectionsManager {
mutableCardCollection.addItem(item.getKey(), item.getValue());
_collectionDAO.setCollectionForPlayer(player.getId(), collectionTo, mutableCardCollection);
_collectionDAO.deletePlayerCollection(player.getId(), collectionFrom);
}
}
} finally {

View File

@@ -27,9 +27,6 @@ public class CollectionDAO {
_collections.clear();
}
public void deletePlayerCollection(int playerId, String type) {
}
public CardCollection getCollectionForPlayer(int playerId, String type) {
Map<String, CardCollection> playerCollections = _collections.get(playerId);
if (playerCollections != null) {