From 35d4587172955950957e017101c660976cfe68f9 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Tue, 5 Jan 2010 19:48:43 -1000 Subject: [PATCH] encache on insert instead of decaching --- classes/Memcached_DataObject.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/Memcached_DataObject.php b/classes/Memcached_DataObject.php index c31b2a5468..d11bd63682 100644 --- a/classes/Memcached_DataObject.php +++ b/classes/Memcached_DataObject.php @@ -142,8 +142,8 @@ class Memcached_DataObject extends DB_DataObject function insert() { - $this->decache(); // in case of cached negative lookups $result = parent::insert(); + $this->encache(); // in case of cached negative lookups return $result; } -- 2.39.5