We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1116437 commit 1767ab8Copy full SHA for 1767ab8
lib/internal/Magento/Framework/Cache/Backend/Redis.php
@@ -73,11 +73,25 @@ public function load($id, $doNotTestCacheValidity = false)
73
public function save($data, $id, $tags = [], $specificLifetime = false)
74
{
75
try {
76
- parent::save($data, $id, $tags, $specificLifetime);
+ $result = parent::save($data, $id, $tags, $specificLifetime);
77
} catch (\Throwable $exception) {
78
- return false;
+ $result = false;
79
}
80
81
- return true;
+ return $result;
82
+ }
83
+
84
+ /**
85
+ * @inheritDoc
86
+ */
87
+ public function remove($id)
88
+ {
89
+ try {
90
+ $result = parent::remove($id);
91
+ } catch (\Throwable $exception) {
92
93
94
95
96
97
0 commit comments