diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2017-05-06 21:21:22 +0800 |
---|---|---|
committer | Bo-Yi Wu <appleboy.tw@gmail.com> | 2017-05-06 21:21:22 +0800 |
commit | 930d1759aea9777767fcaf025f25076420c137c6 (patch) | |
tree | f9756d67555467636ed3fa644a155665612429fb /cmd | |
parent | 9a0b0da1fe1a32b8ff5cc09f97687395fec2ed57 (diff) | |
download | gitea-930d1759aea9777767fcaf025f25076420c137c6.tar.gz gitea-930d1759aea9777767fcaf025f25076420c137c6.zip |
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
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/serv.go | 2 |
1 files changed, 0 insertions, 2 deletions
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) { |