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
This commit is contained in:
Lunny Xiao 2017-05-06 21:21:22 +08:00 committed by Bo-Yi Wu
parent 9a0b0da1fe
commit 930d1759ae
3 changed files with 0 additions and 4 deletions

View file

@ -207,7 +207,6 @@ func HTTP(ctx *context.Context) {
environ = []string{
models.EnvRepoUsername + "=" + username,
models.EnvRepoName + "=" + reponame,
models.EnvRepoUserSalt + "=" + repoUser.Salt,
models.EnvPusherName + "=" + authUser.Name,
models.EnvPusherID + fmt.Sprintf("=%d", authUser.ID),
models.ProtectedBranchRepoID + fmt.Sprintf("=%d", repo.ID),