Issue #2062091 by m1r1k: Remove references to global in Block module.

8.0.x
webchick 2013-08-28 01:35:55 -07:00
parent e8e45c8026
commit f2630dc63e
1 changed files with 1 additions and 1 deletions

View File

@ -288,7 +288,7 @@ function _block_get_renderable_region($list = array()) {
// to other users. We therefore exclude user 1 from block caching.
$not_cacheable = Drupal::currentUser()->id() == 1 ||
count(Drupal::moduleHandler()->getImplementations('node_grants')) ||
!\Drupal::request()->isMethodSafe();
!Drupal::request()->isMethodSafe();
foreach ($list as $key => $block) {
$settings = $block->get('settings');