From fde4333595a7f733c42895fa1876ec5a359b32dc Mon Sep 17 00:00:00 2001 From: Alex Bowers Date: Fri, 3 Apr 2015 19:12:16 +0100 Subject: [PATCH] READ ONLY should not clear --- src/Stash/Item.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Stash/Item.php b/src/Stash/Item.php index 3dc81849..f7c72b32 100644 --- a/src/Stash/Item.php +++ b/src/Stash/Item.php @@ -319,7 +319,6 @@ public function set($data, $ttl = null) { try { if ($this->mode == Mode::READ_ONLY) { - $this->clear(); return false; } else { return $this->executeSet($data, $ttl);