forked from GNUsocial/gnu-social
Revert "add cleanup method to cleanup a single row"
This reverts commit b0527801d9
.
This commit is contained in:
parent
b0527801d9
commit
79c2e3f720
@ -253,18 +253,6 @@ class Memcached_DataObject extends DB_DataObject
|
|||||||
return new ArrayWrapper($cached);
|
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
|
// We overload so that 'SET NAMES "utf8"' is called for
|
||||||
// each connection
|
// each connection
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user