diff --git a/phpBB/phpbb/db/driver/driver.php b/phpBB/phpbb/db/driver/driver.php index f64847db83..533a1dcf84 100644 --- a/phpBB/phpbb/db/driver/driver.php +++ b/phpBB/phpbb/db/driver/driver.php @@ -1247,11 +1247,7 @@ abstract class driver implements driver_interface } /** - * Ensure query ID can be used by cache - * - * @param resource|int|string $query_id Mixed type query id - * - * @return int|string Query id in string or integer format + * {@inheritDoc} */ public function clean_query_id($query_id) { diff --git a/phpBB/phpbb/db/driver/factory.php b/phpBB/phpbb/db/driver/factory.php index 2541c28481..4f2efcf57d 100644 --- a/phpBB/phpbb/db/driver/factory.php +++ b/phpBB/phpbb/db/driver/factory.php @@ -472,4 +472,12 @@ class factory implements driver_interface { return $this->get_driver()->sql_quote($msg); } + + /** + * {@inheritDoc} + */ + public function clean_query_id($query_id) + { + return $this->get_driver()->clean_query_id($query_id); + } }