diff options
author | Unknwon <joe2010xtmf@163.com> | 2014-11-17 14:53:41 -0500 |
---|---|---|
committer | Unknwon <joe2010xtmf@163.com> | 2014-11-17 14:53:41 -0500 |
commit | 32dcaefafa6039e8fe27d263290e33ce5e5d3aa5 (patch) | |
tree | 689cfa7791c40b3d25a801c7b7cc3bf07f23ed7f /modules/setting | |
parent | d1a60e364383b877fd98b853d94b739cb171fe9c (diff) | |
download | gitea-32dcaefafa6039e8fe27d263290e33ce5e5d3aa5.tar.gz gitea-32dcaefafa6039e8fe27d263290e33ce5e5d3aa5.zip |
fox #620
Diffstat (limited to 'modules/setting')
-rw-r--r-- | modules/setting/setting.go | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/modules/setting/setting.go b/modules/setting/setting.go index 6b1b9fed4c..0f293b6905 100644 --- a/modules/setting/setting.go +++ b/modules/setting/setting.go @@ -285,7 +285,6 @@ var Service struct { LdapAuth bool ActiveCodeLives int ResetPwdCodeLives int - EnableGitHooks bool } func newService() { @@ -295,7 +294,6 @@ func newService() { Service.RequireSignInView = Cfg.MustBool("service", "REQUIRE_SIGNIN_VIEW") Service.EnableCacheAvatar = Cfg.MustBool("service", "ENABLE_CACHE_AVATAR") Service.EnableReverseProxyAuth = Cfg.MustBool("service", "ENABLE_REVERSE_PROXY_AUTHENTICATION") - Service.EnableGitHooks = Cfg.MustBool("service", "ENABLE_GIT_HOOKS") } var logLevels = map[string]string{ |