aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/acm/acm_apc.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/acm/acm_apc.php')
-rw-r--r--phpBB/includes/acm/acm_apc.php4
1 files changed, 2 insertions, 2 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);