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

removed redundant params to license change event

This commit is contained in:
Harvey Kandola 2017-08-10 15:47:03 +01:00
parent 7d0c1a3922
commit 6c3042fd4e
2 changed files with 632 additions and 632 deletions

View file

@ -175,7 +175,7 @@ func (h *Handler) SetLicense(w http.ResponseWriter, r *http.Request) {
ctx.Transaction.Commit()
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)