Skip to content

Commit a1e1730

Browse files
committed
Remove change from earlier version of the implementation
1 parent f29e486 commit a1e1730

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

routers/web/repo/fork.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -125,11 +125,6 @@ func getForkRepository(ctx *context.Context) *repo_model.Repository {
125125
// Fork render repository fork page
126126
func Fork(ctx *context.Context) {
127127
ctx.Data["Title"] = ctx.Tr("new_fork")
128-
129-
redirectTo := ctx.FormString("redirect_to_edit")
130-
ctx.Data["ForkForEdit"] = len(redirectTo) > 0
131-
ctx.Data["ForkRedirectTo"] = redirectTo
132-
133128
getForkRepository(ctx)
134129
if ctx.Written() {
135130
return

0 commit comments

Comments
 (0)