mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-10 02:36:38 +02:00
make search_indexing_state dynamic. This is related to bug #44535 - although i think we only fix the symptoms and not the cause.
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9502 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -896,6 +896,7 @@ function change_database_data(&$no_updates, $version)
|
||||
// Changes from 3.0.4 to 3.0.5-dev
|
||||
case '3.0.4':
|
||||
|
||||
// Captcha config variables
|
||||
set_config('captcha_gd_wave', 0);
|
||||
set_config('captcha_gd_3d_noise', 1);
|
||||
set_config('captcha_gd_fonts', 1);
|
||||
@@ -905,6 +906,12 @@ function change_database_data(&$no_updates, $version)
|
||||
// Maximum number of keywords
|
||||
set_config('max_num_search_keywords', 10);
|
||||
|
||||
// Remove static config var and put it back as dynamic variable
|
||||
$sql = 'UPDATE ' . CONFIG_TABLE . "
|
||||
SET is_dynamic = 1
|
||||
WHERE config_name = 'search_indexing_state'";
|
||||
_sql($sql, $errored, $error_ary);
|
||||
|
||||
// Hash old MD5 passwords
|
||||
$sql = 'SELECT user_id, user_password
|
||||
FROM ' . USERS_TABLE . '
|
||||
|
Reference in New Issue
Block a user