From 7a50f9f145755d48b4ef771acee9b50e115ee3c8 Mon Sep 17 00:00:00 2001 From: kilo Date: Tue, 31 Oct 2017 04:35:28 +0100 Subject: [PATCH] fix travis --- controllers/user/profile.go | 1 - 1 file changed, 1 deletion(-) diff --git a/controllers/user/profile.go b/controllers/user/profile.go index ad1f6aae..634ac395 100644 --- a/controllers/user/profile.go +++ b/controllers/user/profile.go @@ -219,7 +219,6 @@ func UserProfileFormHandler(c *gin.Context) { func UserNotificationsHandler(c *gin.Context) { currentUser := router.GetUser(c) if currentUser.ID > 0 { - messages := msg.GetMessages(c) if c.Request.URL.Query()["clear"] != nil { notifications.DeleteNotifications(currentUser, false)