aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorOleg Pudeyev <oleg@bsdpower.com>2012-12-13 21:27:30 -0500
committerOleg Pudeyev <oleg@bsdpower.com>2012-12-13 21:27:30 -0500
commit5e38317dcf28627abbb622d0412cc6cc3416071b (patch)
tree669d90e540bba0649fd780cd4c9243384693cc92 /phpBB
parent6e25b4231e11b8d5a08c5de0b498fb27b8598809 (diff)
downloadforums-5e38317dcf28627abbb622d0412cc6cc3416071b.tar
forums-5e38317dcf28627abbb622d0412cc6cc3416071b.tar.gz
forums-5e38317dcf28627abbb622d0412cc6cc3416071b.tar.bz2
forums-5e38317dcf28627abbb622d0412cc6cc3416071b.tar.xz
forums-5e38317dcf28627abbb622d0412cc6cc3416071b.zip
[ticket/11162] Chase dbal autoloading changes in develop.
PHPBB3-11162
Diffstat (limited to 'phpBB')
-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 664c246888..1b508e6a02 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 dbal $db Database object
+* @param phpbb_db_driver $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($db, $table, $column, $from_values, $to_value)
+function phpbb_update_rows_avoiding_duplicates(phpbb_db_driver $db, $table, $column, $from_values, $to_value)
{
$sql = "SELECT $column, user_id
FROM $table
@@ -107,14 +107,14 @@ function phpbb_update_rows_avoiding_duplicates($db, $table, $column, $from_value
*
* The only supported table is topics_watch.
*
-* @param dbal $db Database object
+* @param phpbb_db_driver $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($db, $table, $column, $from_values, $to_value)
+function phpbb_update_rows_avoiding_duplicates_notify_status(phpbb_db_driver $db, $table, $column, $from_values, $to_value)
{
$sql = "SELECT $column, user_id, notify_status
FROM $table