Deprecate sourceRelativeLinks

Fixes #3028
Closes #3026
Closes #2891
Closes #2691
This commit is contained in:
Bjørn Erik Pedersen
2017-02-11 16:51:22 +07:00
parent 5cc8b58907
commit 234273a5b5
4 changed files with 15 additions and 8 deletions

View File

@@ -291,7 +291,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", true)
helpers.Deprecated("SiteInfo", ".GetParam", "Use .Param", true)
v := s.Params[strings.ToLower(key)]
if v == nil {