diff --git a/code/Controllers/ContentController.php b/code/Controllers/ContentController.php index f5ed8ba701..2e1a10e137 100644 --- a/code/Controllers/ContentController.php +++ b/code/Controllers/ContentController.php @@ -291,9 +291,11 @@ public function getMenu($level = 1) /** * @return ArrayList + * @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); }