summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/setting/setting.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/setting/setting.go b/modules/setting/setting.go
index c326ed3794..1d6bf4d62b 100644
--- a/modules/setting/setting.go
+++ b/modules/setting/setting.go
@@ -94,6 +94,7 @@ var (
ExplorePagingNum int
IssuePagingNum int
AdminUserPagingNum int
+ AdminNoticePagingNum int
// Markdown sttings.
Markdown struct {
@@ -370,6 +371,7 @@ func NewContext() {
sec = Cfg.Section("ui.admin")
AdminUserPagingNum = sec.Key("USER_PAGING_NUM").MustInt(50)
+ AdminNoticePagingNum = sec.Key("NOTICE_PAGING_NUM").MustInt(50)
sec = Cfg.Section("picture")
PictureService = sec.Key("SERVICE").In("server", []string{"server"})