Skip to content
Snippets Groups Projects
Commit ab8f8196 authored by fago's avatar fago
Browse files

#300472 Removed the workaround to add in the breadcrumb for "administer" as...

#300472 Removed the workaround to add in the breadcrumb for "administer" as people can move the menu item.
parent 3031f176
No related branches found
Tags DRUPAL-6--1-0-RC1
No related merge requests found
......@@ -380,12 +380,6 @@ function rules_admin_fix_breadcrumb($rule, $name) {
*/
function rules_admin_add_crumbs($crumbs) {
if ($breadcrumb = drupal_get_breadcrumb()) {
if (count($breadcrumb) == 1) {
// Bug - try to fix it.
//TODO: Get actual menu items.
$breadcrumb[] = l(t('Administer'), 'admin');
$breadcrumb[] = l(t('Rules'), 'admin/rules');
}
$breadcrumb = array_merge($breadcrumb, $crumbs);
drupal_set_breadcrumb($breadcrumb);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment