diff options
author | Dhruv Goel <dhruv.goel92@gmail.com> | 2012-07-10 05:33:17 +0530 |
---|---|---|
committer | Dhruv <dhruv.goel92@gmail.com> | 2012-07-19 23:01:36 +0530 |
commit | 537a16220ea9561332a17004eec79f2854c68df4 (patch) | |
tree | 04af30144605ab5ced77ff862be17d1138aa761d /phpBB/includes/search | |
parent | 45c0956bcf72e59138c3b05e26c73b657298f562 (diff) | |
download | forums-537a16220ea9561332a17004eec79f2854c68df4.tar forums-537a16220ea9561332a17004eec79f2854c68df4.tar.gz forums-537a16220ea9561332a17004eec79f2854c68df4.tar.bz2 forums-537a16220ea9561332a17004eec79f2854c68df4.tar.xz forums-537a16220ea9561332a17004eec79f2854c68df4.zip |
[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
Diffstat (limited to 'phpBB/includes/search')
-rw-r--r-- | phpBB/includes/search/fulltext_sphinx.php | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/phpBB/includes/search/fulltext_sphinx.php b/phpBB/includes/search/fulltext_sphinx.php index 317a35937d..1ff6ab21b5 100644 --- a/phpBB/includes/search/fulltext_sphinx.php +++ b/phpBB/includes/search/fulltext_sphinx.php @@ -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'] = ''; } /** |