diff --git a/phpBB/includes/acp/acp_search.php b/phpBB/includes/acp/acp_search.php index deaa28e743..a01ebaa606 100644 --- a/phpBB/includes/acp/acp_search.php +++ b/phpBB/includes/acp/acp_search.php @@ -265,8 +265,6 @@ class acp_search $this->state[0] = $request->variable('search_type', ''); } - $error = false; - $search_backend_factory = $phpbb_container->get('search.backend_factory'); $this->search = $search_backend_factory->get($this->state[0]);