Merge branch '5' into 6

This commit is contained in:
github-actions 2024-10-21 23:57:32 +00:00
commit b05a24d5d1

View File

@ -291,9 +291,11 @@ class ContentController extends Controller
/**
* @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);
}