1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-15 05:04:09 +02:00

[ticket/13713] Cache SQL queries

PHPBB3-13713
This commit is contained in:
lavigor
2018-07-11 02:56:31 +03:00
committed by Marc Alexander
parent b5ce3343ed
commit 0aadd52014
9 changed files with 58 additions and 32 deletions

View File

@@ -44,10 +44,10 @@ class mention
public function handle()
{
// if (!$this->request->is_ajax())
// {
// new RedirectResponse(append_sid($this->phpbb_root_path . 'index.' . $this->php_ext));
// }
if (!$this->request->is_ajax())
{
new RedirectResponse(append_sid($this->phpbb_root_path . 'index.' . $this->php_ext));
}
$keyword = $this->request->variable('keyword', '', true);
$topic_id = $this->request->variable('topic_id', 0);