aboutsummaryrefslogtreecommitdiffstats
path: root/tests/mock/cache.php
diff options
context:
space:
mode:
authorNathan Guse <nathaniel.guse@gmail.com>2012-08-06 16:26:55 -0500
committerNathan Guse <nathaniel.guse@gmail.com>2012-08-06 16:26:55 -0500
commitdcefa16318f6dc1058595a7ba221b75ed6a2504b (patch)
tree4949582266a91adb9fa5ea210dc7c811953ee393 /tests/mock/cache.php
parent01bc818d465ab168288e260745a045ff2794648d (diff)
downloadforums-dcefa16318f6dc1058595a7ba221b75ed6a2504b.tar
forums-dcefa16318f6dc1058595a7ba221b75ed6a2504b.tar.gz
forums-dcefa16318f6dc1058595a7ba221b75ed6a2504b.tar.bz2
forums-dcefa16318f6dc1058595a7ba221b75ed6a2504b.tar.xz
forums-dcefa16318f6dc1058595a7ba221b75ed6a2504b.zip
[ticket/10875] Return $query_id from sql_save
Have to return the $query_id from sql_save so that the results can be pulled Updated cache test to do some basic sql cache testing. PHPBB3-10875
Diffstat (limited to 'tests/mock/cache.php')
-rw-r--r--tests/mock/cache.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/mock/cache.php b/tests/mock/cache.php
index c6d08afef0..b64c92ea89 100644
--- a/tests/mock/cache.php
+++ b/tests/mock/cache.php
@@ -121,7 +121,7 @@ class phpbb_mock_cache implements phpbb_cache_driver_interface
public function sql_load($query)
{
}
- public function sql_save($query, &$query_result, $ttl)
+ public function sql_save($query, $query_result, $ttl)
{
}
public function sql_exists($query_id)