From ff2fd08228dd6323ac4a1cbd2f37f8ae15733eab Mon Sep 17 00:00:00 2001 From: Gusted Date: Mon, 20 Dec 2021 05:41:31 +0100 Subject: Simplify parameter types (#18006) Remove repeated type declarations in function definitions. --- modules/notification/action/action.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/notification/action') diff --git a/modules/notification/action/action.go b/modules/notification/action/action.go index 88395d929a..95b0d6cbef 100644 --- a/modules/notification/action/action.go +++ b/modules/notification/action/action.go @@ -179,7 +179,7 @@ func (a *actionNotifier) NotifyTransferRepository(doer *user_model.User, repo *r } } -func (a *actionNotifier) NotifyCreateRepository(doer *user_model.User, u *user_model.User, repo *repo_model.Repository) { +func (a *actionNotifier) NotifyCreateRepository(doer, u *user_model.User, repo *repo_model.Repository) { if err := models.NotifyWatchers(&models.Action{ ActUserID: doer.ID, ActUser: doer, -- cgit v1.2.3