Commit 4a7a8b3c authored by Dries's avatar Dries

Issue #2115077 by longwave: Remove unused _block_themes_access().

parent 50979d21
......@@ -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.
*
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment