hugolib: Bump the current warning deprecations

Fixes #2836
This commit is contained in:
Bjørn Erik Pedersen
2017-01-01 12:33:30 +01:00
parent cabc6b3186
commit 695be00c07
2 changed files with 6 additions and 2 deletions

View File

@@ -251,7 +251,7 @@ func (s *SiteInfo) Param(key interface{}) (interface{}, error) {
// GetParam gets a site parameter value if found, nil if not.
func (s *SiteInfo) GetParam(key string) interface{} {
helpers.Deprecated("SiteInfo", ".GetParam", ".Param", false)
helpers.Deprecated("SiteInfo", ".GetParam", ".Param", true)
v := s.Params[strings.ToLower(key)]
if v == nil {