1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-22 22:59:43 +02:00

start use of constants for audit entries

This commit is contained in:
Harvey Kandola 2016-11-28 20:33:39 -08:00
parent 4849dd83de
commit 815b8a37dd
2 changed files with 14 additions and 5 deletions

View file

@ -222,3 +222,8 @@ func (m *baseManager) SQLPrepareError(method string, id string) string {
func (m *baseManager) SQLSelectError(method string, id string) string {
return fmt.Sprintf("Unable to execute SQL for %s, ID %s", method, id)
}
const (
// AuditGetDocument means someone viewed a document
AuditGetDocument string = "get-document"
)