diff options
author | Chris Smith <toonarmy@phpbb.com> | 2009-03-02 02:33:15 +0000 |
---|---|---|
committer | Chris Smith <toonarmy@phpbb.com> | 2009-03-02 02:33:15 +0000 |
commit | 3896f64ba5a96dac8c26df15c5c6d3005a2e3c45 (patch) | |
tree | 58de9e8aea139e5cf405b36857340c9c83be12a6 | |
parent | 36ccf7c6d7ee7d0ee4190c0beecb864c1524f7a8 (diff) | |
download | forums-3896f64ba5a96dac8c26df15c5c6d3005a2e3c45.tar forums-3896f64ba5a96dac8c26df15c5c6d3005a2e3c45.tar.gz forums-3896f64ba5a96dac8c26df15c5c6d3005a2e3c45.tar.bz2 forums-3896f64ba5a96dac8c26df15c5c6d3005a2e3c45.tar.xz forums-3896f64ba5a96dac8c26df15c5c6d3005a2e3c45.zip |
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
-rw-r--r-- | phpBB/install/database_update.php | 5 | ||||
-rw-r--r-- | phpBB/install/install_install.php | 2 |
2 files changed, 6 insertions, 1 deletions
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; diff --git a/phpBB/install/install_install.php b/phpBB/install/install_install.php index 55d1344008..adb0fb9623 100644 --- a/phpBB/install/install_install.php +++ b/phpBB/install/install_install.php @@ -2116,7 +2116,7 @@ class install_install extends module 'Heritrix [Crawler]' => array('heritrix/1.', ''), 'IBM Research [Bot]' => array('ibm.com/cs/crawler', ''), 'ICCrawler - ICjobs' => array('ICCrawler - ICjobs', ''), - 'ichiro [Crawler]' => array('ichiro/2', ''), + 'ichiro [Crawler]' => array('ichiro/', ''), 'Majestic-12 [Bot]' => array('MJ12bot/', ''), 'Metager [Bot]' => array('MetagerBot/', ''), 'MSN NewsBlogs' => array('msnbot-NewsBlogs/', ''), |