diff --git a/code/Controllers/ContentController.php b/code/Controllers/ContentController.php index 9b93af99..938591bd 100644 --- a/code/Controllers/ContentController.php +++ b/code/Controllers/ContentController.php @@ -297,9 +297,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); }