summaryrefslogtreecommitdiffstats
path: root/modules/templates/util_misc.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/templates/util_misc.go')
-rw-r--r--modules/templates/util_misc.go13
1 files changed, 0 insertions, 13 deletions
diff --git a/modules/templates/util_misc.go b/modules/templates/util_misc.go
index 599a0942ce..d11251fcdf 100644
--- a/modules/templates/util_misc.go
+++ b/modules/templates/util_misc.go
@@ -122,19 +122,6 @@ func ActionContent2Commits(act Actioner) *repository.PushCommits {
return push
}
-// DiffLineTypeToStr returns diff line type name
-func DiffLineTypeToStr(diffType int) string {
- switch diffType {
- case 2:
- return "add"
- case 3:
- return "del"
- case 4:
- return "tag"
- }
- return "same"
-}
-
// MigrationIcon returns a SVG name matching the service an issue/comment was migrated from
func MigrationIcon(hostname string) string {
switch hostname {