diff options
author | Gaëtan Muller <m.gaetan89@gmail.com> | 2015-01-11 17:32:31 +0100 |
---|---|---|
committer | Gaëtan Muller <m.gaetan89@gmail.com> | 2015-02-02 19:28:23 +0100 |
commit | 79d4ff553844fa80be4da9286239f62a45489072 (patch) | |
tree | 3a83dabddd37c465de62e60bd2bcecf3c8a29474 /phpBB/phpbb/search/fulltext_mysql.php | |
parent | 6e2838a4cabc6e7874ff1a72af2d3eb4f5361428 (diff) | |
download | forums-79d4ff553844fa80be4da9286239f62a45489072.tar forums-79d4ff553844fa80be4da9286239f62a45489072.tar.gz forums-79d4ff553844fa80be4da9286239f62a45489072.tar.bz2 forums-79d4ff553844fa80be4da9286239f62a45489072.tar.xz forums-79d4ff553844fa80be4da9286239f62a45489072.zip |
[ticket/13494] Update calls to `set_config()`
PHPBB3-13494
Diffstat (limited to 'phpBB/phpbb/search/fulltext_mysql.php')
-rw-r--r-- | phpBB/phpbb/search/fulltext_mysql.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/phpbb/search/fulltext_mysql.php b/phpBB/phpbb/search/fulltext_mysql.php index 1a0aba096f..da9de56009 100644 --- a/phpBB/phpbb/search/fulltext_mysql.php +++ b/phpBB/phpbb/search/fulltext_mysql.php @@ -188,8 +188,8 @@ class fulltext_mysql extends \phpbb\search\base } $this->db->sql_freeresult($result); - set_config('fulltext_mysql_max_word_len', $mysql_info['ft_max_word_len']); - set_config('fulltext_mysql_min_word_len', $mysql_info['ft_min_word_len']); + $this->config->set('fulltext_mysql_max_word_len', $mysql_info['ft_max_word_len']); + $this->config->set('fulltext_mysql_min_word_len', $mysql_info['ft_min_word_len']); return false; } @@ -745,7 +745,7 @@ class fulltext_mysql extends \phpbb\search\base // destroy too old cached search results $this->destroy_cache(array()); - set_config('search_last_gc', time(), true); + $this->config->set('search_last_gc', time(), false); } /** |