summaryrefslogtreecommitdiffstats
path: root/system/database/DB_utility.php
diff options
context:
space:
mode:
authoradmin <devnull@localhost>2006-10-02 08:46:16 +0200
committeradmin <devnull@localhost>2006-10-02 08:46:16 +0200
commite8f6eb62a0600daf5b192746e1eed3e81516bc92 (patch)
tree0f2c39dda00a4adf6d01a596ce977962b2c2a12a /system/database/DB_utility.php
parent3cad41e56fe4edc057cf6a84952a343686376429 (diff)
Diffstat (limited to 'system/database/DB_utility.php')
-rw-r--r--system/database/DB_utility.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/system/database/DB_utility.php b/system/database/DB_utility.php
index 339baa8be..433056ff0 100644
--- a/system/database/DB_utility.php
+++ b/system/database/DB_utility.php
@@ -25,7 +25,7 @@
class CI_DB_utility {
var $db;
- var $cache = array();
+ var $data_cache = array();
/**
* Constructor
@@ -95,9 +95,9 @@ class CI_DB_utility {
function list_databases()
{
// Is there a cached result?
- if (isset($this->cache['db_names']))
+ if (isset($this->data_cache['db_names']))
{
- return $this->cache['db_names'];
+ return $this->data_cache['db_names'];
}
$query = $this->db->query($this->_list_database());
@@ -110,7 +110,7 @@ class CI_DB_utility {
}
}
- return $this->cache['db_names'] =& $dbs;
+ return $this->data_cache['db_names'] =& $dbs;
}
// --------------------------------------------------------------------