diff options
author | Evan Prodromou <evan@status.net> | 2010-01-05 19:48:43 -1000 |
---|---|---|
committer | Evan Prodromou <evan@status.net> | 2010-01-05 19:48:43 -1000 |
commit | 35d4587172955950957e017101c660976cfe68f9 (patch) | |
tree | 0424d6c060ca9313610464dbf1296998d4a003d2 | |
parent | 0f6ccee6d3a10282748c84b3d50d46b31ba2edec (diff) |
encache on insert instead of decaching
-rw-r--r-- | classes/Memcached_DataObject.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/Memcached_DataObject.php b/classes/Memcached_DataObject.php index c31b2a546..d11bd6368 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; } |