diff options
author | Steve Clay <steve@mrclay.org> | 2013-02-04 21:09:02 -0500 |
---|---|---|
committer | cash <cash.costello@gmail.com> | 2013-02-09 10:30:34 -0500 |
commit | 011485988a8fa734c2ed74fec21031b3beebbcfd (patch) | |
tree | 75edb16fa13e82c1fa54d28ae0a43cfa6089e94c /engine/lib/database.php | |
parent | 3a644351f6bd26fc35b6905a30bbb52e89916078 (diff) | |
download | elgg-011485988a8fa734c2ed74fec21031b3beebbcfd.tar.gz elgg-011485988a8fa734c2ed74fec21031b3beebbcfd.tar.bz2 |
Lots of new @todos :(
Diffstat (limited to 'engine/lib/database.php')
-rw-r--r-- | engine/lib/database.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engine/lib/database.php b/engine/lib/database.php index dcf50545d..2b348366d 100644 --- a/engine/lib/database.php +++ b/engine/lib/database.php @@ -123,6 +123,8 @@ function establish_db_link($dblinkname = "readwrite") { // Set up cache if global not initialized and query cache not turned off if ((!$DB_QUERY_CACHE) && (!$db_cache_off)) { + // @todo everywhere else this is assigned to array(), making it dangerous to call + // object methods on this. We should consider making this an plain array $DB_QUERY_CACHE = new ElggStaticVariableCache('db_query_cache'); } } |