diff options
author | Unknwon <u@gogs.io> | 2016-08-27 12:44:39 -0700 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2016-08-27 12:44:39 -0700 |
commit | 13c106af7764a0b4757348ab4c82dbf9154ee11c (patch) | |
tree | ba020ad79bd642ec81194896c78777514ae37b92 /modules/template/template.go | |
parent | ce1e4348dad51f387003dd376f412041d0e837ed (diff) | |
download | gitea-13c106af7764a0b4757348ab4c82dbf9154ee11c.tar.gz gitea-13c106af7764a0b4757348ab4c82dbf9154ee11c.zip |
label: adjust forecolor boundary
Diffstat (limited to 'modules/template/template.go')
-rw-r--r-- | modules/template/template.go | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/modules/template/template.go b/modules/template/template.go index c05335f2e6..433c412787 100644 --- a/modules/template/template.go +++ b/modules/template/template.go @@ -73,13 +73,6 @@ func NewFuncMap() []template.FuncMap { return t.Format("Jan 02, 2006") }, "List": List, - "Mail2Domain": func(mail string) string { - if !strings.Contains(mail, "@") { - return "try.gogs.io" - } - - return strings.SplitN(mail, "@", 2)[1] - }, "SubStr": func(str string, start, length int) string { if len(str) == 0 { return "" |