From 84f795e9fbd172924280593d575bf4587c9b40e5 Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Sun, 22 Feb 2009 18:06:05 +0000 Subject: $db-> to phpbb::$db-> git-svn-id: file:///svn/phpbb/trunk@9336 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/acm/acm_apc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'phpBB/includes/acm/acm_apc.php') 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); -- cgit v1.2.1