Removed outdated history render

This commit is contained in:
Eduard Urbach 2020-11-07 06:37:41 +09:00
parent e5da604921
commit 8bd56db757
Signed by: akyoto
GPG Key ID: C874F672B1AF20C0

View File

@ -7,7 +7,7 @@ import (
) )
// History of the edits. // History of the edits.
var History = history.Handler(renderHistory, "Anime", "AnimeCharacters", "AnimeRelations", "AnimeEpisodes") var History = history.Handler(renderHistory, "Anime", "AnimeCharacters", "AnimeRelations")
func renderHistory(obj interface{}, entries []*arn.EditLogEntry, user *arn.User) string { func renderHistory(obj interface{}, entries []*arn.EditLogEntry, user *arn.User) string {
return components.EditAnimeTabs(obj.(*arn.Anime)) + components.EditLog(entries, user) return components.EditAnimeTabs(obj.(*arn.Anime)) + components.EditLog(entries, user)