aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/acm
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/acm')
-rw-r--r--phpBB/includes/acm/acm_apc.php4
-rw-r--r--phpBB/includes/acm/acm_eaccelerator.php4
-rw-r--r--phpBB/includes/acm/acm_memcache.php4
-rw-r--r--phpBB/includes/acm/acm_xcache.php4
4 files changed, 8 insertions, 8 deletions
diff --git a/phpBB/includes/acm/acm_apc.php b/phpBB/includes/acm/acm_apc.php
index e0714b1f0a..fa92de2b50 100644
--- a/phpBB/includes/acm/acm_apc.php
+++ b/phpBB/includes/acm/acm_apc.php
@@ -295,11 +295,11 @@ class acm
$this->sql_rowset[$query_id] = array();
$this->sql_row_pointer[$query_id] = 0;
- while ($row = $db->sql_fetchrow($query_result))
+ while ($row = phpbb::$db->sql_fetchrow($query_result))
{
$this->sql_rowset[$query_id][] = $row;
}
- $db->sql_freeresult($query_result);
+ phpbb::$db->sql_freeresult($query_result);
apc_store('sql_' . md5($query), $this->sql_rowset[$query_id], $ttl);
diff --git a/phpBB/includes/acm/acm_eaccelerator.php b/phpBB/includes/acm/acm_eaccelerator.php
index a1bc59d803..c6d83da049 100644
--- a/phpBB/includes/acm/acm_eaccelerator.php
+++ b/phpBB/includes/acm/acm_eaccelerator.php
@@ -273,11 +273,11 @@ class acm
$this->sql_rowset[$query_id] = array();
$this->sql_row_pointer[$query_id] = 0;
- while ($row = $db->sql_fetchrow($query_result))
+ while ($row = phpbb::$db->sql_fetchrow($query_result))
{
$this->sql_rowset[$query_id][] = $row;
}
- $db->sql_freeresult($query_result);
+ phpbb::$db->sql_freeresult($query_result);
eaccelerator_put('sql_' . md5($query), $this->sql_rowset[$query_id], $ttl);
diff --git a/phpBB/includes/acm/acm_memcache.php b/phpBB/includes/acm/acm_memcache.php
index a89657b04e..175d0663a0 100644
--- a/phpBB/includes/acm/acm_memcache.php
+++ b/phpBB/includes/acm/acm_memcache.php
@@ -299,11 +299,11 @@ class acm
$this->sql_rowset[$query_id] = array();
$this->sql_row_pointer[$query_id] = 0;
- while ($row = $db->sql_fetchrow($query_result))
+ while ($row = phpbb::$db->sql_fetchrow($query_result))
{
$this->sql_rowset[$query_id][] = $row;
}
- $db->sql_freeresult($query_result);
+ phpbb::$db->sql_freeresult($query_result);
memcache_set($this->memcache, 'sql_' . md5($query), $this->sql_rowset[$query_id], 0, $ttl);
diff --git a/phpBB/includes/acm/acm_xcache.php b/phpBB/includes/acm/acm_xcache.php
index 9531f5e03d..e2bf21748a 100644
--- a/phpBB/includes/acm/acm_xcache.php
+++ b/phpBB/includes/acm/acm_xcache.php
@@ -257,11 +257,11 @@ class acm
$this->sql_rowset[$query_id] = array();
$this->sql_row_pointer[$query_id] = 0;
- while ($row = $db->sql_fetchrow($query_result))
+ while ($row = phpbb::$db->sql_fetchrow($query_result))
{
$this->sql_rowset[$query_id][] = $row;
}
- $db->sql_freeresult($query_result);
+ phpbb::$db->sql_freeresult($query_result);
xcache_set('sql_' . md5($query), $this->sql_rowset[$query_id], $ttl);