From 1e91f9b5542dd69caf60562566b5254365fd9e6f Mon Sep 17 00:00:00 2001 From: "Paul S. Owen" Date: Tue, 12 Aug 2003 23:40:14 +0000 Subject: [PATCH] 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 --- phpBB/includes/db/mysql.php | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/phpBB/includes/db/mysql.php b/phpBB/includes/db/mysql.php index 395809e6fa..cd9a074f35 100644 --- a/phpBB/includes/db/mysql.php +++ b/phpBB/includes/db/mysql.php @@ -120,12 +120,7 @@ class sql_db { global $cache; - $this->query_result = false; - - if ($max_age && method_exists($cache, 'sql_load')) - { - $cache->sql_load($query, $max_age); - } + $this->query_result = ($max_age && method_exists($cache, 'sql_load')) ? $cache->sql_load($query, $max_age) : false; if (!$this->query_result) {