mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-06 16:56:44 +02:00
[feature/sphinx-fulltext-search] remove recent search queries
remove recent search queries from the stats as they can't be retreived and remove other language keys being used no more. PHPBB3-10946
This commit is contained in:
@@ -690,7 +690,6 @@ class phpbb_search_fulltext_sphinx
|
||||
$this->user->lang['FULLTEXT_SPHINX_MAIN_POSTS'] => ($this->index_created()) ? $this->stats['main_posts'] : 0,
|
||||
$this->user->lang['FULLTEXT_SPHINX_DELTA_POSTS'] => ($this->index_created()) ? $this->stats['total_posts'] - $this->stats['main_posts'] : 0,
|
||||
$this->user->lang['FULLTEXT_MYSQL_TOTAL_POSTS'] => ($this->index_created()) ? $this->stats['total_posts'] : 0,
|
||||
$this->user->lang['FULLTEXT_SPHINX_LAST_SEARCHES'] => nl2br($this->stats['last_searches']),
|
||||
);
|
||||
}
|
||||
|
||||
@@ -717,8 +716,6 @@ class phpbb_search_fulltext_sphinx
|
||||
$this->stats['main_posts'] = (int) $this->db->sql_fetchfield('main_posts');
|
||||
$this->db->sql_freeresult($result);
|
||||
}
|
||||
|
||||
$this->stats['last_searches'] = '';
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user