Compare commits

..

No commits in common. "f7b0f010246d3dc89bfeeb64f32783409659038b" and "84740116a94ebb4ba6acf93f69ac3eadc8378407" have entirely different histories.

View File

@ -27,7 +27,6 @@ use SilverStripe\Versioned\Versioned;
use SilverStripe\View\Parsers\URLSegmentFilter;
use SilverStripe\View\Requirements;
use SilverStripe\View\SSViewer;
use SilverStripe\Dev\Deprecation;
/**
* The most common kind of controller; effectively a controller linked to a {@link DataObject}.
@ -292,11 +291,9 @@ class ContentController extends Controller
/**
* @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);
}