mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 22:28:51 +00: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:
parent
1d8f0dba07
commit
1e91f9b554
1 changed files with 1 additions and 6 deletions
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue