diff options
author | Unknwon <u@gogs.io> | 2015-08-28 14:24:05 +0800 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-08-28 14:24:05 +0800 |
commit | a7686e8749f46b13c62c67c7b4fc5dbc0c5a42c3 (patch) | |
tree | 150b15f67361e43a3870dc267bdbf69ef126790d /modules/base | |
parent | ff35a37769cbf60cd1522eb05411adbf965c9950 (diff) | |
download | gitea-a7686e8749f46b13c62c67c7b4fc5dbc0c5a42c3.tar.gz gitea-a7686e8749f46b13c62c67c7b4fc5dbc0c5a42c3.zip |
#1203 bundle jquery with gogs
Diffstat (limited to 'modules/base')
-rw-r--r-- | modules/base/template.go | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/modules/base/template.go b/modules/base/template.go index 7f57538863..fb32734e37 100644 --- a/modules/base/template.go +++ b/modules/base/template.go @@ -122,9 +122,6 @@ var TemplateFuncs template.FuncMap = map[string]interface{}{ "AppDomain": func() string { return setting.Domain }, - "CdnMode": func() bool { - return setting.ProdMode && !setting.OfflineMode - }, "DisableGravatar": func() bool { return setting.DisableGravatar }, |