aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/acp/acp_bots.php
diff options
context:
space:
mode:
authorHenry Sudhof <kellanved@phpbb.com>2007-06-29 13:56:25 +0000
committerHenry Sudhof <kellanved@phpbb.com>2007-06-29 13:56:25 +0000
commitc62366c92dc1df2027a311eef3fabc977ad6eb41 (patch)
treec0a37c0aa4b1d703dbecbe47706e7389a043c182 /phpBB/includes/acp/acp_bots.php
parent3cb990df4d8d8d09b46a16918e10c6ba2d0fde19 (diff)
downloadforums-c62366c92dc1df2027a311eef3fabc977ad6eb41.tar
forums-c62366c92dc1df2027a311eef3fabc977ad6eb41.tar.gz
forums-c62366c92dc1df2027a311eef3fabc977ad6eb41.tar.bz2
forums-c62366c92dc1df2027a311eef3fabc977ad6eb41.tar.xz
forums-c62366c92dc1df2027a311eef3fabc977ad6eb41.zip
err
Forgot to mention: also commited a fix for #12321, but I'm not yet sure if it'll stay. git-svn-id: file:///svn/phpbb/trunk@7810 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/acp/acp_bots.php')
-rw-r--r--phpBB/includes/acp/acp_bots.php13
1 files changed, 6 insertions, 7 deletions
diff --git a/phpBB/includes/acp/acp_bots.php b/phpBB/includes/acp/acp_bots.php
index d75a29b748..5bab27d5b2 100644
--- a/phpBB/includes/acp/acp_bots.php
+++ b/phpBB/includes/acp/acp_bots.php
@@ -275,13 +275,12 @@ class acp_bots
$log = 'UPDATED';
}
- if ($bot_id)
- {
- $cache->destroy('_bots');
-
- add_log('admin', 'LOG_BOT_' . $log, $bot_row['bot_name']);
- trigger_error($user->lang['BOT_' . $log] . adm_back_link($this->u_action . "&amp;id=$bot_id&amp;action=$action"));
- }
+
+ $cache->destroy('_bots');
+
+ add_log('admin', 'LOG_BOT_' . $log, $bot_row['bot_name']);
+ trigger_error($user->lang['BOT_' . $log] . adm_back_link($this->u_action . "&amp;id=$bot_id&amp;action=$action"));
+
}
}
else if ($bot_id)