summaryrefslogtreecommitdiff
path: root/classes/Memcached_DataObject.php
diff options
context:
space:
mode:
Diffstat (limited to 'classes/Memcached_DataObject.php')
-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;
}