diff --git a/core/modules/block/block.module b/core/modules/block/block.module index ce1ecb7625b9208b202efdd91ff523fbe87bb153..6786cc0e9944d4a17f111f963c22ab89f5b3f49e 100644 --- a/core/modules/block/block.module +++ b/core/modules/block/block.module @@ -145,21 +145,6 @@ function block_menu() { return $items; } -/** - * Access callback: Only enabled themes can be accessed. - * - * Path: - * - admin/structure/block/list/% (for each theme) - * - * @param $theme - * Either the name of a theme or a full theme object. - * - * @see block_menu() - */ -function _block_themes_access($theme) { - return user_access('administer blocks') && drupal_theme_access($theme); -} - /** * Theme callback: Uses the theme specified in the parameter. *