Skip to content

Commit

Permalink
Merge branch '5' into 6
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Oct 21, 2024
2 parents 8474011 + 42aed2b commit b05a24d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions code/Controllers/ContentController.php
Original file line number Diff line number Diff line change
Expand Up @@ -291,9 +291,11 @@ public function getMenu($level = 1)

/**
* @return ArrayList<SiteTree>
* @deprecated 5.4.0 Use getMenu() instead. You can continue to use $Menu in templates.
*/
public function Menu($level)
{
Deprecation::noticeWithNoReplacment('5.4.0', 'Use getMenu() instead. You can continue to use $Menu in templates.');
return $this->getMenu($level);
}

Expand Down

0 comments on commit b05a24d

Please sign in to comment.