mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-01 14:30:32 +02:00
[feature/sphinx-fulltext-search] integrate sphinx language keys with core
Language keys removed from mods folder and added to language/en/acp/search.php PHPBB3-10946
This commit is contained in:
@@ -733,8 +733,6 @@ class phpbb_search_fulltext_sphinx
|
||||
|
||||
if (!isset($config['fulltext_sphinx_configured']) || !$config['fulltext_sphinx_configured'])
|
||||
{
|
||||
$user->add_lang('mods/fulltext_sphinx');
|
||||
|
||||
return $user->lang['FULLTEXT_SPHINX_CONFIGURE_FIRST'];
|
||||
}
|
||||
|
||||
@@ -902,8 +900,6 @@ class phpbb_search_fulltext_sphinx
|
||||
$this->get_stats();
|
||||
}
|
||||
|
||||
$user->add_lang('mods/fulltext_sphinx');
|
||||
|
||||
return array(
|
||||
$user->lang['FULLTEXT_SPHINX_MAIN_POSTS'] => ($this->index_created()) ? $this->stats['main_posts'] : 0,
|
||||
$user->lang['FULLTEXT_SPHINX_DELTA_POSTS'] => ($this->index_created()) ? $this->stats['total_posts'] - $this->stats['main_posts'] : 0,
|
||||
@@ -966,8 +962,6 @@ class phpbb_search_fulltext_sphinx
|
||||
{
|
||||
global $user, $config;
|
||||
|
||||
$user->add_lang('mods/fulltext_sphinx');
|
||||
|
||||
$config_vars = array(
|
||||
'fulltext_sphinx_autoconf' => 'bool',
|
||||
'fulltext_sphinx_autorun' => 'bool',
|
||||
|
Reference in New Issue
Block a user