From 3896f64ba5a96dac8c26df15c5c6d3005a2e3c45 Mon Sep 17 00:00:00 2001 From: Chris Smith Date: Mon, 2 Mar 2009 02:33:15 +0000 Subject: Removed the major version number from the useragent match of the Ichiro bot, it has been upgraded git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9354 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/install/database_update.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'phpBB/install/database_update.php') diff --git a/phpBB/install/database_update.php b/phpBB/install/database_update.php index 4f96966a81..f805d19d38 100644 --- a/phpBB/install/database_update.php +++ b/phpBB/install/database_update.php @@ -912,6 +912,11 @@ function change_database_data(&$no_updates, $version) } $db->sql_freeresult($result); + $sql = 'UPDATE ' . BOTS_TABLE . " + SET bot_agent = 'ichiro/' + WHERE bot_agent = 'ichiro/2'"; + _sql($sql, $errored, $error_ary); + $no_updates = false; break; -- cgit v1.2.1