mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-12 03:34:04 +02:00
$db-> to phpbb::$db->
git-svn-id: file:///svn/phpbb/trunk@9336 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -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);
|
||||
|
||||
|
@@ -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);
|
||||
|
||||
|
@@ -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);
|
||||
|
||||
|
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user