From a576224d0ea0a6a48207002229ae38937bd038a3 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Wed, 9 Dec 2015 00:32:53 -0500 Subject: unified name: IsViewBranch, IsViewCommit and IsViewTag --- routers/repo/view.go | 3 --- 1 file changed, 3 deletions(-) (limited to 'routers') diff --git a/routers/repo/view.go b/routers/repo/view.go index 98b44f42e3..361d77a85a 100644 --- a/routers/repo/view.go +++ b/routers/repo/view.go @@ -53,9 +53,6 @@ func Home(ctx *middleware.Context) { treeLink += "/" + treename } - isViewBranch := ctx.Repo.IsBranch - ctx.Data["IsViewBranch"] = isViewBranch - treePath := treename if len(treePath) != 0 { treePath = treePath + "/" -- cgit v1.2.3