Remove a bunch of unused cruft
This commit is contained in:
@@ -42,7 +42,6 @@ func NewTemplateManager(conf *Config) (*TemplateManager, error) {
|
||||
funcMap["prettyURL"] = PrettyURL
|
||||
funcMap["isLocalURL"] = IsLocalURLFactory(conf)
|
||||
funcMap["formatForDateTime"] = FormatForDateTime
|
||||
funcMap["isAdminUser"] = IsAdminUserFactory(conf)
|
||||
|
||||
m := &TemplateManager{debug: conf.Debug, templates: templates, funcMap: funcMap}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user