1
0
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:
Meik Sievertsen
2009-05-01 09:59:57 +00:00
parent e45bc987b4
commit 2e4174da2a
3 changed files with 9 additions and 2 deletions

View File

@@ -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 . '