mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-06 10:03:26 -08:00
[Server+Client] Tombstone deck deletes with purge and base snapshots
This commit is contained in:
parent
8d0468402e
commit
34844c52b0
8 changed files with 180 additions and 21 deletions
|
|
@ -152,6 +152,11 @@ public:
|
|||
bool getDeckShareItem(const QString &token, int itemId, QString &content);
|
||||
/** @brief Deletes all expired share bundles (cascades to their items). */
|
||||
void cleanupExpiredDeckShares();
|
||||
/**
|
||||
* @brief Hard-deletes tombstoned decks older than the grace period (cascades to versions).
|
||||
* @param olderThanDays Tombstones older than this many days are purged; 0 purges all tombstones.
|
||||
*/
|
||||
void purgeDeckTombstones(int olderThanDays);
|
||||
|
||||
int getNextGameId() override;
|
||||
int getNextReplayId() override;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue