1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-04 08:17:24 -05:00

bug fixed

This commit is contained in:
Lunny Xiao 2014-03-26 14:06:49 +08:00
parent 7c6ec5332c
commit 8c63169718

View File

@ -131,7 +131,6 @@ func runServ(k *cli.Context) {
// access check
switch {
case isWrite:
println(user.Name, repoName, models.AU_WRITABLE)
has, err := models.HasAccess(user.Name, repoName, models.AU_WRITABLE)
if err != nil {
println("Inernel error:", err)