Skip to content

Commit 84daef3

Browse files
- cleanup
1 parent 0955574 commit 84daef3

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

grails-audit-logging-plugin/AuditLoggingGrailsPlugin.groovy

+5-6
Original file line numberDiff line numberDiff line change
@@ -107,12 +107,11 @@ When called, the event handlers have access to oldObj and newObj definitions tha
107107
def listener = new AuditLogListener(datastore)
108108
listener.with {
109109
grailsApplication = application
110-
111-
stampEnabled = application.config.auditLog.stampEnabled ?: true
112-
stampAlways = application.config.auditLog.stampAlways ?: false
113-
stampCreatedBy = application.config.auditLog.stampCreatedBy ?: 'createdBy'
114-
stampLastUpdatedBy = application.config.auditLog.stampLastUpdatedBy ?: 'lastUpdatedBy'
115-
verbose = application.config.auditLog.verbose ?: false
110+
stampEnabled = application.config.auditLog.stampEnabled ?: true
111+
stampAlways = application.config.auditLog.stampAlways ?: false
112+
stampCreatedBy = application.config.auditLog.stampCreatedBy ?: 'createdBy'
113+
stampLastUpdatedBy = application.config.auditLog.stampLastUpdatedBy ?: 'lastUpdatedBy'
114+
verbose = application.config.auditLog.verbose ?: false
116115
nonVerboseDelete = application.config.auditLog.nonVerboseDelete ?: false
117116
logFullClassName = application.config.auditLog.logFullClassName ?: false
118117
transactional = application.config.auditLog.transactional ?: false

0 commit comments

Comments
 (0)