mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-01 14:30:32 +02:00
query_id return changed back ... I think somethins is afoot with my local repository ...
git-svn-id: file:///svn/phpbb/trunk@4396 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -120,12 +120,7 @@ class sql_db
|
|||||||
{
|
{
|
||||||
global $cache;
|
global $cache;
|
||||||
|
|
||||||
$this->query_result = false;
|
$this->query_result = ($max_age && method_exists($cache, 'sql_load')) ? $cache->sql_load($query, $max_age) : false;
|
||||||
|
|
||||||
if ($max_age && method_exists($cache, 'sql_load'))
|
|
||||||
{
|
|
||||||
$cache->sql_load($query, $max_age);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!$this->query_result)
|
if (!$this->query_result)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user