1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-13 19:15:20 +02:00

[ticket/11015] Remove strange method_exists call

PHPBB3-11015
This commit is contained in:
Igor Wiedler 2012-11-16 01:26:36 +01:00
parent 423c79e106
commit 0d4a289778

View File

@ -157,7 +157,7 @@ class phpbb_db_driver_mssql extends phpbb_db_driver
$this->sql_report('stop', $query);
}
if ($cache_ttl && method_exists($cache, 'sql_save'))
if ($cache_ttl)
{
$this->open_queries[(int) $this->query_result] = $this->query_result;
$this->query_result = $cache->sql_save($query, $this->query_result, $cache_ttl);