summaryrefslogtreecommitdiff
path: root/classes/Memcached_DataObject.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2010-01-01 11:27:13 -1000
committerEvan Prodromou <evan@status.net>2010-01-01 11:27:13 -1000
commit79c2e3f7202aa652414df885bd4c917a316ea7f3 (patch)
treeab4c42c3536dd6b248fa2ccd3a231fe99b9efc47 /classes/Memcached_DataObject.php
parentb0527801d9c2b84408bbfdf82bbdc5b778f72cfc (diff)
Revert "add cleanup method to cleanup a single row"
This reverts commit b0527801d9c2b84408bbfdf82bbdc5b778f72cfc.
Diffstat (limited to 'classes/Memcached_DataObject.php')
-rw-r--r--classes/Memcached_DataObject.php12
1 files changed, 0 insertions, 12 deletions
diff --git a/classes/Memcached_DataObject.php b/classes/Memcached_DataObject.php
index cf7fb4340..f51133508 100644
--- a/classes/Memcached_DataObject.php
+++ b/classes/Memcached_DataObject.php
@@ -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