From bec98e3d1f145eaf76c4301d49ee3bc3a2810f8d Mon Sep 17 00:00:00 2001 From: evilsocket Date: Thu, 22 Feb 2018 15:43:32 +0100 Subject: [PATCH] misc: small fix or general refactoring i did not bother commenting --- modules/api_rest_controller.go | 1 - 1 file changed, 1 deletion(-) diff --git a/modules/api_rest_controller.go b/modules/api_rest_controller.go index 61ca7c57..625696bc 100644 --- a/modules/api_rest_controller.go +++ b/modules/api_rest_controller.go @@ -53,6 +53,5 @@ func ShowRestEvents(c *gin.Context) { func ClearRestEvents(c *gin.Context) { session.I.Events.Clear() - session.I.Events.Add("sys.log.cleared", nil) c.JSON(200, gin.H{"success": true}) }