From 9bd9ad420582a7a34d18011847bb789f64271b1f Mon Sep 17 00:00:00 2001 From: Unknwon Date: Sun, 13 Mar 2016 23:20:22 -0400 Subject: #1692 add CRUD issue APIs - Fix go-gogs-client#10 - Related to #809 --- routers/user/home.go | 5 ----- 1 file changed, 5 deletions(-) (limited to 'routers/user/home.go') diff --git a/routers/user/home.go b/routers/user/home.go index 2a7f219e49..0c48d6cc2c 100644 --- a/routers/user/home.go +++ b/routers/user/home.go @@ -284,11 +284,6 @@ func Issues(ctx *context.Context) { ctx.Handle(500, "GetOwner", fmt.Errorf("[#%d]%v", issues[i].ID, err)) return } - - if err = issues[i].GetPoster(); err != nil { - ctx.Handle(500, "GetPoster", fmt.Errorf("[#%d]%v", issues[i].ID, err)) - return - } } ctx.Data["Issues"] = issues -- cgit v1.2.3