Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API Move some code to framework to be reusable #3022

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions code/Controllers/CMSMain.php
Original file line number Diff line number Diff line change
Expand Up @@ -1064,6 +1064,8 @@ public function Breadcrumbs($unlinked = false)
if ($page = SiteTree::get()->byID($parentID)) {
$this->buildListViewBreadcrumb($items, $page);
}
// At this stage we also know the parent ID is the "current" ID for this view
$this->setCurrentPageID($parentID);
}
}

Expand Down
5 changes: 0 additions & 5 deletions code/Model/RedirectorPage.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,6 @@
*/
class RedirectorPage extends Page
{
/**
* @deprecated 5.4.0 use class_description instead.
*/
private static $description = 'Redirects requests to another location';

private static string $class_description = 'Redirects requests to another location';

private static $icon_class = 'font-icon-p-redirect';
Expand Down
Loading
Loading