aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathan Guse <nathaniel.guse@gmail.com>2013-10-07 08:14:46 -0700
committerNathan Guse <nathaniel.guse@gmail.com>2013-10-07 08:14:46 -0700
commitac84fc8952c3d492ca2bd8fb936c25cbd3b4a364 (patch)
tree952ff6400a97e8c8e506f67b7a4bdc5f162b89ed
parent2adb8499a904c4d3bcdf47b2a5b65d2b5f34cbdd (diff)
parentda1edb4578ab66265c1a846180b1123bbb889c72 (diff)
downloadforums-ac84fc8952c3d492ca2bd8fb936c25cbd3b4a364.tar
forums-ac84fc8952c3d492ca2bd8fb936c25cbd3b4a364.tar.gz
forums-ac84fc8952c3d492ca2bd8fb936c25cbd3b4a364.tar.bz2
forums-ac84fc8952c3d492ca2bd8fb936c25cbd3b4a364.tar.xz
forums-ac84fc8952c3d492ca2bd8fb936c25cbd3b4a364.zip
Merge pull request #1753 from dhruvgoel92/ticket/11888
[ticket/11888] Use \phpbb\search\fulltext_native as search backend config
-rw-r--r--phpBB/install/schemas/schema_data.sql2
-rw-r--r--phpBB/phpbb/db/migration/data/v310/namespaces.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/install/schemas/schema_data.sql b/phpBB/install/schemas/schema_data.sql
index 70138f35fd..4458dde6a3 100644
--- a/phpBB/install/schemas/schema_data.sql
+++ b/phpBB/install/schemas/schema_data.sql
@@ -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');
diff --git a/phpBB/phpbb/db/migration/data/v310/namespaces.php b/phpBB/phpbb/db/migration/data/v310/namespaces.php
index 9b182f88b8..f74ecbd874 100644
--- a/phpBB/phpbb/db/migration/data/v310/namespaces.php
+++ b/phpBB/phpbb/db/migration/data/v310/namespaces.php
@@ -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']))),
)),
);
}