Removed SessionsTable#getSessionCount(UUID uuid, long afterDate) - not used

This commit is contained in:
Rsl1122 2019-02-02 12:37:50 +02:00
parent 28df900c0a
commit 4e6f6546d9

View File

@ -255,17 +255,6 @@ public class SessionsTable extends Table {
});
}
/**
* Used to get total Session count of a Player on THIS server after a given epoch ms.
*
* @param uuid UUID of the player.
* @param afterDate Epoch ms (Session count after this date is calculated)
* @return How many sessions player has. 0 if player or server not found.
*/
public int getSessionCount(UUID uuid, long afterDate) {
return getSessionCount(uuid, getServerUUID(), afterDate);
}
public Map<UUID, List<Session>> getSessionInfoOfServer(UUID serverUUID) {
String sql = "SELECT " +
tableName + "." + ID + ", " +