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:
parent
4849dd83de
commit
815b8a37dd
2 changed files with 14 additions and 5 deletions
|
@ -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"
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue