]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - classes/Memcached_DataObject.php
Uses a fixed height for header to control the layout for notice form
[quix0rs-gnu-social.git] / classes / Memcached_DataObject.php
index d830884b675de2a7669bdf2f0cbe4bc42af9a3f2..d11bd636823a18c8c4b598353ba57cc0316df890 100644 (file)
@@ -66,7 +66,6 @@ class Memcached_DataObject extends DB_DataObject
         // Clear this out so we don't accidentally break global
         // state in *this* process.
         $this->_DB_resultid = null;
-        
         // We don't have any local DBO refs, so clear these out.
         $this->_link_loaded = false;
     }
@@ -144,6 +143,7 @@ class Memcached_DataObject extends DB_DataObject
     function insert()
     {
         $result = parent::insert();
+        $this->encache(); // in case of cached negative lookups
         return $result;
     }