aboutsummaryrefslogtreecommitdiffstats
path: root/tests/mock/cache.php
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2012-08-26 18:45:20 +0200
committerAndreas Fischer <bantu@phpbb.com>2012-10-30 18:50:26 -0400
commit59af4d68fc6f5455e156c5a192b35ca1ffe6872b (patch)
tree9987f078f8fdc0108bba536baa1b88ff48f4b002 /tests/mock/cache.php
parente28f0aa336e4b4d8965d1025d6e0d28e6b1fcde9 (diff)
downloadforums-59af4d68fc6f5455e156c5a192b35ca1ffe6872b.tar
forums-59af4d68fc6f5455e156c5a192b35ca1ffe6872b.tar.gz
forums-59af4d68fc6f5455e156c5a192b35ca1ffe6872b.tar.bz2
forums-59af4d68fc6f5455e156c5a192b35ca1ffe6872b.tar.xz
forums-59af4d68fc6f5455e156c5a192b35ca1ffe6872b.zip
[ticket/10875] Fix phpbb_mock_cache::sql_save() to return $query_result.
PHPBB3-10875
Diffstat (limited to 'tests/mock/cache.php')
-rw-r--r--tests/mock/cache.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/mock/cache.php b/tests/mock/cache.php
index b64c92ea89..bc18ca066b 100644
--- a/tests/mock/cache.php
+++ b/tests/mock/cache.php
@@ -123,6 +123,7 @@ class phpbb_mock_cache implements phpbb_cache_driver_interface
}
public function sql_save($query, $query_result, $ttl)
{
+ return $query_result;
}
public function sql_exists($query_id)
{