summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2010-01-05 19:48:43 -1000
committerEvan Prodromou <evan@status.net>2010-01-05 19:48:43 -1000
commit35d4587172955950957e017101c660976cfe68f9 (patch)
tree0424d6c060ca9313610464dbf1296998d4a003d2 /classes
parent0f6ccee6d3a10282748c84b3d50d46b31ba2edec (diff)
encache on insert instead of decaching
Diffstat (limited to 'classes')
-rw-r--r--classes/Memcached_DataObject.php2
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;
}