]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Revert "add cleanup method to cleanup a single row"
authorEvan Prodromou <evan@status.net>
Fri, 1 Jan 2010 21:27:13 +0000 (11:27 -1000)
committerEvan Prodromou <evan@status.net>
Fri, 1 Jan 2010 21:27:13 +0000 (11:27 -1000)
This reverts commit b0527801d9c2b84408bbfdf82bbdc5b778f72cfc.

classes/Memcached_DataObject.php

index cf7fb4340ab9f301e2f516b3440bd5f69ac1d7e5..f511335083e987da245fc4243236a845131436ec 100644 (file)
@@ -253,18 +253,6 @@ class Memcached_DataObject extends DB_DataObject
         return new ArrayWrapper($cached);
     }
 
-    function cleanup()
-    {
-        global $_DB_DATAOBJECT;
-
-        if (isset($_DB_DATAOBJECT['RESULTFIELDS'][$this->_DB_resultid])) {
-            unset($_DB_DATAOBJECT['RESULTFIELDS'][$this->_DB_resultid]);
-        }
-        if (isset($_DB_DATAOBJECT['RESULTS'][$this->_DB_resultid])) {
-            unset($_DB_DATAOBJECT['RESULTS'][$this->_DB_resultid]);
-        }
-    }
-
     // We overload so that 'SET NAMES "utf8"' is called for
     // each connection