encache on insert instead of decaching

This commit is contained in:
Evan Prodromou 2010-01-05 19:48:43 -10:00
parent 0f6ccee6d3
commit 35d4587172

View File

@ -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;
}