diff options
Diffstat (limited to 'modules/dashboard/dashboard.module')
-rw-r--r-- | modules/dashboard/dashboard.module | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/modules/dashboard/dashboard.module b/modules/dashboard/dashboard.module index c4f1be96d..44629f2a9 100644 --- a/modules/dashboard/dashboard.module +++ b/modules/dashboard/dashboard.module @@ -62,18 +62,6 @@ function dashboard_menu() { } /** - * Implements hook_menu_alter(). - */ -function dashboard_menu_alter(&$items) { - // Make the dashboard the default local task on /admin. - $items['admin']['title'] = 'Dashboard'; - $items['admin']['page callback'] = 'dashboard_admin'; - $items['admin']['access arguments'] = array('access dashboard'); - $items['admin/dashboard']['type'] = MENU_DEFAULT_LOCAL_TASK; - $items['admin/by-task']['type'] = MENU_LOCAL_TASK; -} - -/** * Implements hook_block_info_alter(). * * Skip rendering dashboard blocks when not on the dashboard page itself. This |