mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
changes...
git-svn-id: file:///svn/phpbb/trunk@7842 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
7a1b091b06
commit
bb7d2f7aad
4 changed files with 6 additions and 6 deletions
|
@ -31,7 +31,7 @@ unset($dbpasswd);
|
|||
*/
|
||||
$convertor_data = array(
|
||||
'forum_name' => 'phpBB 2.0.x',
|
||||
'version' => '1.0.RC2',
|
||||
'version' => '1.0.RC3',
|
||||
'phpbb_version' => '3.0.0',
|
||||
'author' => '<a href="http://www.phpbb.com/">phpBB Group</a>',
|
||||
'dbms' => $dbms,
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
*
|
||||
*/
|
||||
|
||||
$updates_to_version = '3.0.RC2';
|
||||
$updates_to_version = '3.0.RC3';
|
||||
|
||||
if (defined('IN_PHPBB') && defined('IN_INSTALL'))
|
||||
{
|
||||
|
@ -663,7 +663,7 @@ if (version_compare($current_version, '3.0.RC2', '<='))
|
|||
|
||||
$index_list = sql_list_index($map_dbms, ACL_ROLES_DATA_TABLE);
|
||||
|
||||
if (in_array('ath_opt_id', $index))
|
||||
if (in_array('ath_opt_id', $index_list))
|
||||
{
|
||||
sql_index_drop($map_dbms, 'ath_opt_id', ACL_ROLES_DATA_TABLE);
|
||||
sql_create_index($map_dbms, 'ath_op_id', ACL_ROLES_DATA_TABLE, array('auth_option_id'));
|
||||
|
|
|
@ -462,11 +462,11 @@ class install_update extends module
|
|||
}
|
||||
}
|
||||
|
||||
$cache->purge();
|
||||
|
||||
$db->sql_return_on_error(true);
|
||||
$db->sql_query('DELETE FROM ' . CONFIG_TABLE . " WHERE config_name = 'version_update_from'");
|
||||
$db->sql_return_on_error(false);
|
||||
|
||||
$cache->purge();
|
||||
}
|
||||
|
||||
break;
|
||||
|
|
|
@ -205,7 +205,7 @@ INSERT INTO phpbb_config (config_name, config_value) VALUES ('topics_per_page',
|
|||
INSERT INTO phpbb_config (config_name, config_value) VALUES ('tpl_allow_php', '0');
|
||||
INSERT INTO phpbb_config (config_name, config_value) VALUES ('upload_icons_path', 'images/upload_icons');
|
||||
INSERT INTO phpbb_config (config_name, config_value) VALUES ('upload_path', 'files');
|
||||
INSERT INTO phpbb_config (config_name, config_value) VALUES ('version', '3.0.RC3-dev');
|
||||
INSERT INTO phpbb_config (config_name, config_value) VALUES ('version', '3.0.RC3');
|
||||
INSERT INTO phpbb_config (config_name, config_value) VALUES ('warnings_expire_days', '90');
|
||||
INSERT INTO phpbb_config (config_name, config_value) VALUES ('warnings_gc', '14400');
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue