[Server] Expose the audit log on the database interface (#7835)

addAuditRecord existed only on Servatrice_DatabaseInterface, so 37 moderator and admin commands reached through the concrete class just to append a log row. Declare it on Server_DatabaseInterface with an empty default, mark the Servatrice implementation as an override, and switch the handler's call sites to the injected interface. No SQL moves; the argument hashes are unchanged.
This commit is contained in:
BruebachL 2026-11-10 12:16:24 +01:00 • committed by GitHub
parent 7734a94f83
commit 417e7f7db4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 95 additions and 83 deletions

View file

@ -302,7 +302,7 @@ public:
const QString &clientid,
const QString &action,
const QString &details,
const bool &results);
bool results) override;
};
#endif