From a75874bb6e73e44f16887f2c724616a146e8ad0c Mon Sep 17 00:00:00 2001 From: Nathaniel Catchpole Date: Fri, 9 Jun 2017 12:48:58 +0100 Subject: [PATCH] Issue #2884223 by kiamlaluno, Dinesh18: In \Drupal\Core\State\State, parent::delete($key) is called twice --- core/lib/Drupal/Core/State/State.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/lib/Drupal/Core/State/State.php b/core/lib/Drupal/Core/State/State.php index 572e5cbf339..cefcb6273e6 100644 --- a/core/lib/Drupal/Core/State/State.php +++ b/core/lib/Drupal/Core/State/State.php @@ -86,7 +86,7 @@ class State extends CacheCollector implements StateInterface { */ public function delete($key) { parent::delete($key); - $this->deleteMultiple([$key]); + $this->keyValueStore->delete($key); } /**