diff options
Diffstat (limited to 'classes')
-rw-r--r-- | classes/Memcached_DataObject.php | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/classes/Memcached_DataObject.php b/classes/Memcached_DataObject.php index 1608720d1..b72c3d7b6 100644 --- a/classes/Memcached_DataObject.php +++ b/classes/Memcached_DataObject.php @@ -139,16 +139,6 @@ class Memcached_DataObject extends DB_DataObject } } - function keyTypes() - { - global $_DB_DATAOBJECT; - if (!isset($_DB_DATAOBJECT['INI'][$this->_database][$this->__table."__keys"])) { - $this->databaseStructure(); - - } - return $_DB_DATAOBJECT['INI'][$this->_database][$this->__table."__keys"]; - } - function encache() { $c = $this->memcache(); @@ -157,7 +147,7 @@ class Memcached_DataObject extends DB_DataObject } else { $pkey = array(); $pval = array(); - $types = $this->keyTypes(); + $types = $this->keys(); ksort($types); foreach ($types as $key => $type) { if ($type == 'K') { @@ -182,7 +172,7 @@ class Memcached_DataObject extends DB_DataObject } else { $pkey = array(); $pval = array(); - $types = $this->keyTypes(); + $types = $this->keys(); ksort($types); foreach ($types as $key => $type) { if ($type == 'K') { |