mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-10 03:53:26 -08:00
cmdReport and sendPendingReportNotifications still issued their SQL inline through Servatrice_DatabaseInterface: the daily report cap, the reported-user lookup, the report insert, both pending-notification selects and the notified flips. Add the two notification records and seven report methods to Server_DatabaseInterface with fail-closed defaults, implement them with the previous statements and binds, and let both functions ask the injected interface. Check order, response codes and notification payloads are unchanged. |
||
|---|---|---|
| .. | ||
| docker | ||
| migrations | ||
| mysql-storage | ||
| resources | ||
| scripts | ||
| src | ||
| check_schema_version.sh | ||
| CMakeLists.txt | ||
| servatrice.desktop | ||
| servatrice.ini.example | ||
| servatrice.qrc | ||
| servatrice.rc | ||
| servatrice.sql | ||