Skip to content

Commit

Permalink
API Remove deprecated method
Browse files Browse the repository at this point in the history
  • Loading branch information
emteknetnz committed Oct 22, 2024
1 parent b05a24d commit 998c3d4
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions code/Controllers/ContentController.php
Original file line number Diff line number Diff line change
Expand Up @@ -289,16 +289,6 @@ public function getMenu($level = 1)
return new ArrayList($visible);
}

/**
* @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);
}

/**
* Returns the default log-in form.
*
Expand Down

0 comments on commit 998c3d4

Please sign in to comment.