From 921d1283ed0af4ad55746d074824d10241a23e25 Mon Sep 17 00:00:00 2001
From: Gergely Nagy <forgejo@gergo.csillger.hu>
Date: Mon, 18 Mar 2024 13:28:20 +0100
Subject: [PATCH] routers: Minor code cleanup in UsernameSubRoute

The `reloadParam` function already calls `context.UserAssignmentWeb`
with the same parameters, there's no need to do it again.

Change cherry picked from gitea#29751.

Signed-off-by: Gergely Nagy <forgejo@gergo.csillger.hu>
---
 routers/web/user/home.go | 1 -
 1 file changed, 1 deletion(-)

diff --git a/routers/web/user/home.go b/routers/web/user/home.go
index 3ff4efc489..31ee0e40df 100644
--- a/routers/web/user/home.go
+++ b/routers/web/user/home.go
@@ -743,7 +743,6 @@ func UsernameSubRoute(ctx *context.Context) {
 			return
 		}
 		if reloadParam(".rss") {
-			context.UserAssignmentWeb()(ctx)
 			feed.ShowUserFeedRSS(ctx)
 		}
 	case strings.HasSuffix(username, ".atom"):