aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOleg Pudeyev <oleg@bsdpower.com>2012-12-01 20:17:01 -0500
committerOleg Pudeyev <oleg@bsdpower.com>2012-12-01 23:09:31 -0500
commit2e947334e563f122c597d7072eddd962453a84ef (patch)
treecdfbac48e93ca0cd449d4bbd791bb254f436a8db
parentd0338531cb2a3a386a3894a1b1b081025f53ea05 (diff)
downloadforums-2e947334e563f122c597d7072eddd962453a84ef.tar
forums-2e947334e563f122c597d7072eddd962453a84ef.tar.gz
forums-2e947334e563f122c597d7072eddd962453a84ef.tar.bz2
forums-2e947334e563f122c597d7072eddd962453a84ef.tar.xz
forums-2e947334e563f122c597d7072eddd962453a84ef.zip
[ticket/11162] Uncomment transactions.
PHPBB3-11162
-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');
}
}