index
:
gogs.git
Gogs is a painless self-hosted Git service
log msg
author
committer
range
buildscript
main
mygogs
about
summary
refs
log
tree
commit
diff
path:
root
/
modules
/
setting
/
setting.go
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
Diffstat
(limited to 'modules/setting/setting.go')
-rw-r--r--
modules/setting/setting.go
4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/setting/setting.go b/modules/setting/setting.go
index 3b3aa69a..54a837e2 100644
--- a/
modules/setting/setting.go
+++ b/
modules/setting/setting.go
@@ -806,6 +806,10 @@ func newWebhookService() {
Webhook.PagingNum = sec.Key("PAGING_NUM").MustInt(10)
}
+func NewService() {
+ newService()
+}
+
func NewServices() {
newService()
newLogService()