summaryrefslogtreecommitdiffstats
path: root/routers/web/admin/notice.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/web/admin/notice.go')
-rw-r--r--routers/web/admin/notice.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/web/admin/notice.go b/routers/web/admin/notice.go
index 3613f428ed..147e03ba03 100644
--- a/routers/web/admin/notice.go
+++ b/routers/web/admin/notice.go
@@ -73,7 +73,7 @@ func EmptyNotices(ctx *context.Context) {
return
}
- log.Trace("System notices deleted by admin (%s): [start: %d]", ctx.User.Name, 0)
+ log.Trace("System notices deleted by admin (%s): [start: %d]", ctx.Doer.Name, 0)
ctx.Flash.Success(ctx.Tr("admin.notices.delete_success"))
ctx.Redirect(setting.AppSubURL + "/admin/notices")
}