From 88f5dd3135a0598f7a75c864081d6f52a0599c6c Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Thu, 21 Oct 2010 11:56:17 +0000 Subject: - Patch #943558 by David_Rothstein: 'block_callback()' in menu_router() table seems to have no purpose. --- includes/menu.inc | 1 - modules/system/system.api.php | 3 --- 2 files changed, 4 deletions(-) diff --git a/includes/menu.inc b/includes/menu.inc index badfb368f..3bfa7a971 100644 --- a/includes/menu.inc +++ b/includes/menu.inc @@ -3464,7 +3464,6 @@ function _menu_router_build($callbacks) { 'page arguments' => array(), 'page callback' => '', 'delivery callback' => '', - 'block callback' => '', 'title arguments' => array(), 'title callback' => 't', 'theme arguments' => array(), diff --git a/modules/system/system.api.php b/modules/system/system.api.php index 4959f098b..a5773c300 100644 --- a/modules/system/system.api.php +++ b/modules/system/system.api.php @@ -1008,9 +1008,6 @@ function hook_page_build(&$page) { * default parent for 'admin/people/create' is 'admin/people'). * - "tab_root": For local task menu items, the path of the closest non-tab * item; same default as "tab_parent". - * - "block callback": Name of a function used to render the block on the - * system administration page for this item (called with no arguments). - * If not provided, system_admin_menu_block() is used to generate it. * - "position": Position of the block ('left' or 'right') on the system * administration page for this item. * - "type": A bitmask of flags describing properties of the menu item. -- cgit v1.2.3