mirror of
https://github.com/go-gitea/gitea.git
synced 2024-07-01 02:05:30 +00:00
remove hooks from helper
This commit is contained in:
parent
007c2e07c2
commit
23f341e3b6
|
@ -132,15 +132,6 @@ func NewFuncMap() template.FuncMap {
|
|||
"DisableGitHooks": func() bool {
|
||||
return setting.DisableGitHooks
|
||||
},
|
||||
"GitHookPrereceiveName": func() string {
|
||||
return setting.GitHookPrereceiveName
|
||||
},
|
||||
"GitHookUpdateName": func() string {
|
||||
return setting.GitHookUpdateName
|
||||
},
|
||||
"GitHookPostreceiveName": func() string {
|
||||
return setting.GitHookPostreceiveName
|
||||
},
|
||||
"DisableWebhooks": func() bool {
|
||||
return setting.DisableWebhooks
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue
Block a user