Cleaned up merge conflict from 8a9d5f
Better, more efficient rebuild_sessionscache
Fixed merge conflict with f1be54
Fixes the update tourneytype mechanism.
Fixed merge conflict on 6adabc
Fixed merge conflict on ab274e
Fix for merge conflict on 9cdf62
Switched CardsCache and PositionsCache back to UTC for weeks and months. Fixed a bug with CardsCache and PositionsCache 'ring'/'tour' inserts and added siteId as another parameter in their archive paths.
Fixes merge conflict on 1d773f
Added three new rake calculation methods to the cache tables. rakeDealt divides the rake taken out of the pot by every player who is dealt in, rakeContributed divides the rake by the number of players who put money into the pot, and rakeWeighted weights rake by the amount each player contributes to the pot.
Fixed a couple of bugs with this new rake stuff and added it to the HandsPlayers table
Fix for merge conflict on 45b9f6
Fixed a bug in the Cap identification
Fixed update_tz and addStartCardsHands
Will no longer fail when the totalpot is 0
Fixed merge conflict on a35253
Revision to the new siteHandNo calculation. HID1 should not be greater than 14. This would allow at least 4 digits for hands at a particular table/tournament.
Fixed merge conflict on 448180
Single character player names have been observed.
Some updates to the cache methods to handle hands with no hero set.