mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 06:05:56 +00:00
Merge 87f4e9184e7c604844b5fce554638d10513c8c1e into df82162291253d91f9fd0d3a6a8dcf5199622262
This commit is contained in:
commit
6645d18725
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user