aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/setting/setting.go2
-rw-r--r--modules/templates/helper.go3
2 files changed, 0 insertions, 5 deletions
diff --git a/modules/setting/setting.go b/modules/setting/setting.go
index 1c4814189a..ea0fa73dd0 100644
--- a/modules/setting/setting.go
+++ b/modules/setting/setting.go
@@ -301,7 +301,6 @@ var (
MaxDisplayFileSize int64
ShowUserEmail bool
DefaultTheme string
- HeatmapColorRange string
Admin struct {
UserPagingNum int
@@ -328,7 +327,6 @@ var (
ThemeColorMetaTag: `#6cc644`,
MaxDisplayFileSize: 8388608,
DefaultTheme: `gitea`,
- HeatmapColorRange: `['#f4f4f4', '#459928']`,
Admin: struct {
UserPagingNum int
RepoPagingNum int
diff --git a/modules/templates/helper.go b/modules/templates/helper.go
index 16627549e7..ce077d1a92 100644
--- a/modules/templates/helper.go
+++ b/modules/templates/helper.go
@@ -193,9 +193,6 @@ func NewFuncMap() []template.FuncMap {
"DefaultTheme": func() string {
return setting.UI.DefaultTheme
},
- "HeatmapColorRange": func() string {
- return setting.UI.HeatmapColorRange
- },
"dict": func(values ...interface{}) (map[string]interface{}, error) {
if len(values) == 0 {
return nil, errors.New("invalid dict call")