aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/acp/acp_bots.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/acp/acp_bots.php')
-rw-r--r--phpBB/includes/acp/acp_bots.php4
1 files changed, 0 insertions, 4 deletions
diff --git a/phpBB/includes/acp/acp_bots.php b/phpBB/includes/acp/acp_bots.php
index 43984c5a5c..0498aed848 100644
--- a/phpBB/includes/acp/acp_bots.php
+++ b/phpBB/includes/acp/acp_bots.php
@@ -165,8 +165,6 @@ class acp_bots
if (!sizeof($error))
{
- $db->sql_transaction('begin');
-
// New bot? Create a new user and group entry
if ($action == 'add')
{
@@ -252,8 +250,6 @@ class acp_bots
$log = 'UPDATED';
}
- $db->sql_transaction('commit');
-
$cache->destroy('bots');
add_log('admin', 'LOG_BOT_' . $log, $bot_row['bot_name']);