This commit is contained in:
Guy Sartorelli 2024-10-21 01:29:02 +00:00 committed by GitHub
commit 6645d18725
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -297,9 +297,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);
}