mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-11 22:08:54 +00:00
Merge pull request #1753 from dhruvgoel92/ticket/11888
[ticket/11888] Use \phpbb\search\fulltext_native as search backend config
This commit is contained in:
commit
ac84fc8952
2 changed files with 2 additions and 2 deletions
|
@ -237,7 +237,7 @@ INSERT INTO phpbb_config (config_name, config_value) VALUES ('search_block_size'
|
|||
INSERT INTO phpbb_config (config_name, config_value) VALUES ('search_gc', '7200');
|
||||
INSERT INTO phpbb_config (config_name, config_value) VALUES ('search_interval', '0');
|
||||
INSERT INTO phpbb_config (config_name, config_value) VALUES ('search_anonymous_interval', '0');
|
||||
INSERT INTO phpbb_config (config_name, config_value) VALUES ('search_type', 'phpbb\search\fulltext_native');
|
||||
INSERT INTO phpbb_config (config_name, config_value) VALUES ('search_type', '\phpbb\search\fulltext_native');
|
||||
INSERT INTO phpbb_config (config_name, config_value) VALUES ('search_store_results', '1800');
|
||||
INSERT INTO phpbb_config (config_name, config_value) VALUES ('secure_allow_deny', '1');
|
||||
INSERT INTO phpbb_config (config_name, config_value) VALUES ('secure_allow_empty_referer', '1');
|
||||
|
|
|
@ -23,7 +23,7 @@ class namespaces extends \phpbb\db\migration\migration
|
|||
return array(
|
||||
array('if', array(
|
||||
(preg_match('#^phpbb_search_#', $this->config['search_type'])),
|
||||
array('config.update', array('search_type', str_replace('phpbb_search_', 'phpbb\\search\\', $this->config['search_type']))),
|
||||
array('config.update', array('search_type', str_replace('phpbb_search_', '\\phpbb\\search\\', $this->config['search_type']))),
|
||||
)),
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue