Skip to content
Snippets Groups Projects
Verified Commit 64cc6471 authored by Dave Long's avatar Dave Long
Browse files

Issue #3485410 by niklan, andypost:...

Issue #3485410 by niklan, andypost: \Drupal\Core\KeyValueStore\DatabaseStorage::doSetIfNotExists should be protected
parent 2396ee2b
No related branches found
No related tags found
No related merge requests found
...@@ -167,7 +167,7 @@ public function set($key, $value) { ...@@ -167,7 +167,7 @@ public function set($key, $value) {
* @return bool * @return bool
* TRUE if the data was set, FALSE if it already existed. * TRUE if the data was set, FALSE if it already existed.
*/ */
public function doSetIfNotExists($key, $value) { protected function doSetIfNotExists($key, $value) {
$result = $this->connection->merge($this->table) $result = $this->connection->merge($this->table)
->insertFields([ ->insertFields([
'collection' => $this->collection, 'collection' => $this->collection,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment