From 930d1759aea9777767fcaf025f25076420c137c6 Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Sat, 6 May 2017 21:21:22 +0800 Subject: Remove env user salt since no need to use (#1515) * remove env user salt since no need to use * remove unused variable from update.go --- cmd/serv.go | 2 -- 1 file changed, 2 deletions(-) (limited to 'cmd/serv.go') diff --git a/cmd/serv.go b/cmd/serv.go index f7d025c68e..def19fc555 100644 --- a/cmd/serv.go +++ b/cmd/serv.go @@ -164,8 +164,6 @@ func runServ(c *cli.Context) error { fail("Internal error", "Failed to get repository owner (%s): %v", username, err) } - os.Setenv(models.EnvRepoUserSalt, repoUser.Salt) - repo, err := models.GetRepositoryByName(repoUser.ID, reponame) if err != nil { if models.IsErrRepoNotExist(err) { -- cgit v1.2.3