summaryrefslogtreecommitdiffstats
path: root/modules/base
diff options
context:
space:
mode:
Diffstat (limited to 'modules/base')
-rw-r--r--modules/base/template.go3
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
},