diff options
author | Marc Alexander <admin@m-a-styles.de> | 2012-12-24 14:33:05 +0100 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2012-12-24 14:33:05 +0100 |
commit | 46b3c3ecc43721e53c9711a196e91c300e03a1c8 (patch) | |
tree | c936edfeb531760c3667a41c40799dd6bb61bb80 /phpBB/includes/cache/driver/interface.php | |
parent | e444f5bf2a8b30aefb3700ce358d2a6be66c8cb5 (diff) | |
parent | 21b9ac6c880cbee7c8bda263871b24414671672a (diff) | |
download | forums-46b3c3ecc43721e53c9711a196e91c300e03a1c8.tar forums-46b3c3ecc43721e53c9711a196e91c300e03a1c8.tar.gz forums-46b3c3ecc43721e53c9711a196e91c300e03a1c8.tar.bz2 forums-46b3c3ecc43721e53c9711a196e91c300e03a1c8.tar.xz forums-46b3c3ecc43721e53c9711a196e91c300e03a1c8.zip |
Merge branch 'develop' of https://github.com/phpbb/phpbb3 into develop
Diffstat (limited to 'phpBB/includes/cache/driver/interface.php')
-rw-r--r-- | phpBB/includes/cache/driver/interface.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/phpBB/includes/cache/driver/interface.php b/phpBB/includes/cache/driver/interface.php index d403bbcd71..53f684d1c8 100644 --- a/phpBB/includes/cache/driver/interface.php +++ b/phpBB/includes/cache/driver/interface.php @@ -85,6 +85,7 @@ interface phpbb_cache_driver_interface * result to persistent storage. In other words, there is no need * to call save() afterwards. * + * @param phpbb_db_driver $db Database connection * @param string $query SQL query, should be used for generating storage key * @param mixed $query_result The result from dbal::sql_query, to be passed to * dbal::sql_fetchrow to get all rows and store them @@ -95,7 +96,7 @@ interface phpbb_cache_driver_interface * representing the query should be returned. Otherwise * the original $query_result should be returned. */ - public function sql_save($query, $query_result, $ttl); + public function sql_save(phpbb_db_driver $db, $query, $query_result, $ttl); /** * Check if result for a given SQL query exists in cache. |