aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2012-12-22 23:21:19 +0100
committerAndreas Fischer <bantu@phpbb.com>2012-12-22 23:21:19 +0100
commit4b808e2671e18dc32d44efda4abf9d8ed81aace9 (patch)
tree291bd303c4ac3be3c49e537cf4f090e33619a3da /tests
parent9365d71b6b9cfd7e46e7b1872f56e5f4529ec363 (diff)
parente50f69187f21e29a12512880e0c69f2876e84aa1 (diff)
downloadforums-4b808e2671e18dc32d44efda4abf9d8ed81aace9.tar
forums-4b808e2671e18dc32d44efda4abf9d8ed81aace9.tar.gz
forums-4b808e2671e18dc32d44efda4abf9d8ed81aace9.tar.bz2
forums-4b808e2671e18dc32d44efda4abf9d8ed81aace9.tar.xz
forums-4b808e2671e18dc32d44efda4abf9d8ed81aace9.zip
Merge remote-tracking branch 'p/ticket/11037' into develop
* p/ticket/11037: [ticket/11037] Eliminate global $db usage in cache drivers.
Diffstat (limited to 'tests')
-rw-r--r--tests/mock/cache.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/mock/cache.php b/tests/mock/cache.php
index bc18ca066b..71af3037f5 100644
--- a/tests/mock/cache.php
+++ b/tests/mock/cache.php
@@ -121,7 +121,11 @@ class phpbb_mock_cache implements phpbb_cache_driver_interface
public function sql_load($query)
{
}
- public function sql_save($query, $query_result, $ttl)
+
+ /**
+ * {@inheritDoc}
+ */
+ public function sql_save(phpbb_db_driver $db, $query, $query_result, $ttl)
{
return $query_result;
}