From 14b84b11ff197864924cf2cbaf3145a6340171bc Mon Sep 17 00:00:00 2001
From: webchick <webchick@24967.no-reply.drupal.org>
Date: Fri, 27 Dec 2013 22:25:00 -0800
Subject: [PATCH] Issue #1874564 by andypost: Fix access handling
 SystemMenuBlock::access().

---
 .../lib/Drupal/system/Plugin/Block/SystemMenuBlock.php    | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/core/modules/system/lib/Drupal/system/Plugin/Block/SystemMenuBlock.php b/core/modules/system/lib/Drupal/system/Plugin/Block/SystemMenuBlock.php
index 65a194df9903..8298193bcd52 100644
--- a/core/modules/system/lib/Drupal/system/Plugin/Block/SystemMenuBlock.php
+++ b/core/modules/system/lib/Drupal/system/Plugin/Block/SystemMenuBlock.php
@@ -22,14 +22,6 @@
  */
 class SystemMenuBlock extends BlockBase {
 
-  /**
-   * {@inheritdoc}
-   */
-  public function access(AccountInterface $account) {
-    $derivative = $this->getDerivativeId();
-    return ($account->isAuthenticated() || in_array($derivative, array('main', 'tools', 'footer')));
-  }
-
   /**
    * {@inheritdoc}
    */
-- 
GitLab