diff options
author | wxiaoguang <wxiaoguang@gmail.com> | 2021-12-15 14:59:57 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-15 14:59:57 +0800 |
commit | 4da1d9781025aa4a85899b1ddeb25aabbaa82703 (patch) | |
tree | 9714f71f2fb042e44d418fbcfc56cd8440a1bbb1 /modules/templates/base.go | |
parent | 9d943bf374e56e4d403303a6a2caafc1c79cdb6f (diff) | |
download | gitea-4da1d9781025aa4a85899b1ddeb25aabbaa82703.tar.gz gitea-4da1d9781025aa4a85899b1ddeb25aabbaa82703.zip |
Refactor HTTP request context (#17979)
Diffstat (limited to 'modules/templates/base.go')
-rw-r--r-- | modules/templates/base.go | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/modules/templates/base.go b/modules/templates/base.go index f753bfbe4e..f3052770ea 100644 --- a/modules/templates/base.go +++ b/modules/templates/base.go @@ -43,9 +43,6 @@ func BaseVars() Vars { "EnableSwagger": setting.API.EnableSwagger, "EnableOpenIDSignIn": setting.Service.EnableOpenIDSignIn, "PageStartTime": startTime, - "TmplLoadTimes": func() string { - return time.Since(startTime).String() - }, } } |