diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2007-08-30 21:21:16 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2007-08-30 21:21:16 +0000 |
commit | 1d004b925f9e858fcdc491da63efefb52173042c (patch) | |
tree | 77002d3de006a681097d976766116cba70cbd0fe /phpBB/install/database_update.php | |
parent | 6f1d6e92460316e9d602fdf1b7466d4ad886564b (diff) | |
download | forums-1d004b925f9e858fcdc491da63efefb52173042c.tar forums-1d004b925f9e858fcdc491da63efefb52173042c.tar.gz forums-1d004b925f9e858fcdc491da63efefb52173042c.tar.bz2 forums-1d004b925f9e858fcdc491da63efefb52173042c.tar.xz forums-1d004b925f9e858fcdc491da63efefb52173042c.zip |
necessary changes...
git-svn-id: file:///svn/phpbb/trunk@8072 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/install/database_update.php')
-rw-r--r-- | phpBB/install/database_update.php | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/phpBB/install/database_update.php b/phpBB/install/database_update.php index 4c15a4700f..ef6f2338c5 100644 --- a/phpBB/install/database_update.php +++ b/phpBB/install/database_update.php @@ -8,7 +8,7 @@ * */ -$updates_to_version = '3.0.RC5'; +$updates_to_version = '3.0.RC6'; // Return if we "just include it" to find out for which version the database update is responsuble for if (defined('IN_PHPBB') && defined('IN_INSTALL')) @@ -983,7 +983,7 @@ if ($exit) </html> <?php - exit; + exit_handler(); } // Schema updates @@ -1502,6 +1502,17 @@ if (version_compare($current_version, '3.0.RC4', '<=')) $no_updates = false; } +if (version_compare($current_version, '3.0.RC5', '<=')) +{ + // In case the user is having the bot mediapartner google "as is", adjust it. + $sql = 'UPDATE ' . BOTS_TABLE . " + SET bot_agent = '" . $db->sql_escape('Mediapartners-Google') . "' + WHERE bot_agent = '" . $db->sql_escape('Mediapartners-Google/') . "'"; + _sql($sql, $errored, $error_ary); + + $no_updates = false; +} + _write_result($no_updates, $errored, $error_ary); $error_ary = array(); @@ -1604,7 +1615,7 @@ $cache->purge(); <?php -exit; +exit_handler(); /** |