diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-10-21 11:56:17 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-10-21 11:56:17 +0000 |
commit | 88f5dd3135a0598f7a75c864081d6f52a0599c6c (patch) | |
tree | 23d5b7b30e8da22c7ef54bd9b28f44895d4d80f0 | |
parent | b094ff12d4614bc091b4f3506fea2fef8d13b929 (diff) | |
download | brdo-88f5dd3135a0598f7a75c864081d6f52a0599c6c.tar.gz brdo-88f5dd3135a0598f7a75c864081d6f52a0599c6c.tar.bz2 |
- Patch #943558 by David_Rothstein: 'block_callback()' in menu_router() table seems to have no purpose.
-rw-r--r-- | includes/menu.inc | 1 | ||||
-rw-r--r-- | modules/system/system.api.php | 3 |
2 files changed, 0 insertions, 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. |