From: Evan Prodromou Date: Wed, 6 Jan 2010 05:48:43 +0000 (-1000) Subject: encache on insert instead of decaching X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=35d4587172955950957e017101c660976cfe68f9;p=quix0rs-gnu-social.git encache on insert instead of decaching --- 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; }