1
0
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:
Dhruv Goel
2012-07-10 05:33:17 +05:30
committed by Dhruv
parent 45c0956bcf
commit 537a16220e
2 changed files with 1 additions and 14 deletions

View File

@@ -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'] = '';
}
/**