summaryrefslogtreecommitdiffstats
path: root/hugolib/menu.go
diff options
context:
space:
mode:
authorAnthony Fok <foka@debian.org>2015-07-30 01:17:10 -0600
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2015-07-30 13:33:38 +0200
commit252ea96d1d359b485bae489327a8219d102f0607 (patch)
tree7a0f13dc4f1396c63eef1425b71ca887ca7b5a6c /hugolib/menu.go
parentb23b546a30df792ad2c8f0cf3ec1be30c53ba34d (diff)
Remove deprecated fields and methods for v0.15
Special thanks to @bep for his guidance and for making sure all of the Hugo themes get updated. Fixes #1172
Diffstat (limited to 'hugolib/menu.go')
-rw-r--r--hugolib/menu.go7
1 files changed, 0 insertions, 7 deletions
diff --git a/hugolib/menu.go b/hugolib/menu.go
index 95370062b..322e9c7d5 100644
--- a/hugolib/menu.go
+++ b/hugolib/menu.go
@@ -19,7 +19,6 @@ import (
"strings"
"github.com/spf13/cast"
- "github.com/spf13/hugo/helpers"
)
type MenuEntry struct {
@@ -38,12 +37,6 @@ type Menu []*MenuEntry
type Menus map[string]*Menu
type PageMenus map[string]*MenuEntry
-// Url is deprecated. Will be removed in 0.15.
-func (me *MenuEntry) Url() string {
- helpers.Deprecated("MenuEntry", ".Url", ".URL")
- return me.URL
-}
-
func (me *MenuEntry) AddChild(child *MenuEntry) {
me.Children = append(me.Children, child)
me.Children.Sort()