1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 05:50:42 +02:00

Merge branch 'ticket/jellydoughnut/9637' into develop-olympus

* ticket/jellydoughnut/9637:
  [ticket/9637] Do not cache SQL server version in all cases
This commit is contained in:
Andreas Fischer
2010-07-11 01:44:59 +02:00
10 changed files with 52 additions and 25 deletions

View File

@@ -56,10 +56,18 @@ class dbal_oracle extends dbal
/**
* Version information about used database
* @param bool $raw if true, only return the fetched sql_server_version
* @param bool $use_cache forced to false for Oracle
* @return string sql server version
*/
function sql_server_info($raw = false)
function sql_server_info($raw = false, $use_cache = true)
{
/**
* force $use_cache false. I didn't research why the caching code below is commented out
* but I assume its because the Oracle extension provides a direct method to access it
* without a query.
*/
$use_cache = false;
/*
global $cache;