aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--phpBB/includes/functions.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php
index 13690e79bb..a24dcfdf5b 100644
--- a/phpBB/includes/functions.php
+++ b/phpBB/includes/functions.php
@@ -1367,7 +1367,7 @@ function phpbb_update_rows_avoiding_duplicates($db, $table, $column, $from_value
if ($any_found)
{
- //$db->sql_transaction('begin');
+ $db->sql_transaction('begin');
foreach ($queries as $sql)
{
@@ -1378,7 +1378,7 @@ function phpbb_update_rows_avoiding_duplicates($db, $table, $column, $from_value
WHERE " . $db->sql_in_set($column, $from_values);
$db->sql_query($sql);
- //$db->sql_transaction('commit');
+ $db->sql_transaction('commit');
}
}