mirror of
https://github.com/documize/community.git
synced 2025-07-30 18:49:43 +02:00
removed redundant params to license change event
This commit is contained in:
parent
7d0c1a3922
commit
6c3042fd4e
2 changed files with 632 additions and 632 deletions
|
@ -175,7 +175,7 @@ func (h *Handler) SetLicense(w http.ResponseWriter, r *http.Request) {
|
||||||
ctx.Transaction.Commit()
|
ctx.Transaction.Commit()
|
||||||
|
|
||||||
h.Runtime.Log.Info("License changed")
|
h.Runtime.Log.Info("License changed")
|
||||||
event.Handler().Publish(string(event.TypeSystemLicenseChange), h.Runtime, h.Store)
|
event.Handler().Publish(string(event.TypeSystemLicenseChange))
|
||||||
|
|
||||||
h.Store.Audit.Record(ctx, audit.EventTypeSystemLicense)
|
h.Store.Audit.Record(ctx, audit.EventTypeSystemLicense)
|
||||||
|
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue