aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_database_helper.php
diff options
context:
space:
mode:
authorNils Adermann <naderman@naderman.de>2014-04-10 14:04:43 -0700
committerNils Adermann <naderman@naderman.de>2014-04-10 14:04:43 -0700
commit7a947b247d359055c48acb16aadfa7453b6197e8 (patch)
tree56908d44be07ff092c0fd803e438367c2415bca3 /phpBB/includes/functions_database_helper.php
parent79fe7816293435baceaecafc5a84fbb09c33afaa (diff)
parent3656fa3026cad5ffaa8536a4054f75cfb52dfb10 (diff)
downloadforums-7a947b247d359055c48acb16aadfa7453b6197e8.tar
forums-7a947b247d359055c48acb16aadfa7453b6197e8.tar.gz
forums-7a947b247d359055c48acb16aadfa7453b6197e8.tar.bz2
forums-7a947b247d359055c48acb16aadfa7453b6197e8.tar.xz
forums-7a947b247d359055c48acb16aadfa7453b6197e8.zip
Merge remote-tracking branch 'github-nickvergessen/ticket/12282' into develop-ascraeus
* github-nickvergessen/ticket/12282: [ticket/12282] Update new references [ticket/12282] Update container db mock [ticket/12282] Add new line at EOF of the interface [ticket/12282] Use interface for type hinting [ticket/12282] Use {@inheritDoc} for inherited methods [ticket/12282] Add Interface for DBAL drivers
Diffstat (limited to 'phpBB/includes/functions_database_helper.php')
-rw-r--r--phpBB/includes/functions_database_helper.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/phpBB/includes/functions_database_helper.php b/phpBB/includes/functions_database_helper.php
index 923e542690..4b2cbdd25b 100644
--- a/phpBB/includes/functions_database_helper.php
+++ b/phpBB/includes/functions_database_helper.php
@@ -22,14 +22,14 @@ if (!defined('IN_PHPBB'))
*
* The only supported table is bookmarks.
*
-* @param \phpbb\db\driver\driver $db Database object
+* @param \phpbb\db\driver\driver_interface $db Database object
* @param string $table Table on which to perform the update
* @param string $column Column whose values to change
* @param array $from_values An array of values that should be changed
* @param int $to_value The new value
* @return null
*/
-function phpbb_update_rows_avoiding_duplicates(\phpbb\db\driver\driver $db, $table, $column, $from_values, $to_value)
+function phpbb_update_rows_avoiding_duplicates(\phpbb\db\driver\driver_interface $db, $table, $column, $from_values, $to_value)
{
$sql = "SELECT $column, user_id
FROM $table
@@ -107,14 +107,14 @@ function phpbb_update_rows_avoiding_duplicates(\phpbb\db\driver\driver $db, $tab
*
* The only supported table is topics_watch.
*
-* @param \phpbb\db\driver\driver $db Database object
+* @param \phpbb\db\driver\driver_interface $db Database object
* @param string $table Table on which to perform the update
* @param string $column Column whose values to change
* @param array $from_values An array of values that should be changed
* @param int $to_value The new value
* @return null
*/
-function phpbb_update_rows_avoiding_duplicates_notify_status(\phpbb\db\driver\driver $db, $table, $column, $from_values, $to_value)
+function phpbb_update_rows_avoiding_duplicates_notify_status(\phpbb\db\driver\driver_interface $db, $table, $column, $from_values, $to_value)
{
$sql = "SELECT $column, user_id, notify_status
FROM $table