diff --git a/code/Controllers/ContentController.php b/code/Controllers/ContentController.php index f5ed8ba7..2e1a10e1 100644 --- a/code/Controllers/ContentController.php +++ b/code/Controllers/ContentController.php @@ -291,9 +291,11 @@ class ContentController extends Controller /** * @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); }