From 42aed2b72e2986207dc7469fd74824162bc5a03e Mon Sep 17 00:00:00 2001 From: Guy Sartorelli <36352093+GuySartorelli@users.noreply.github.com> Date: Tue, 22 Oct 2024 12:53:07 +1300 Subject: [PATCH] API Deprecations for template layer (#3012) --- code/Controllers/ContentController.php | 2 ++ 1 file changed, 2 insertions(+) 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); }