Revert "add cleanup method to cleanup a single row"

This reverts commit b0527801d9.
This commit is contained in:
Evan Prodromou 2010-01-01 11:27:13 -10:00
parent b0527801d9
commit 79c2e3f720
1 changed files with 0 additions and 12 deletions

View 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