mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-11 05:48:51 +00:00
[ticket/16737] Remove dead code
PHPBB3-16737
This commit is contained in:
parent
89f41d8456
commit
381cf4b9f1
1 changed files with 1 additions and 9 deletions
|
@ -334,19 +334,11 @@ class acp_search
|
||||||
|
|
||||||
$search_types = $phpbb_container->get('search.backend_collection');
|
$search_types = $phpbb_container->get('search.backend_collection');
|
||||||
|
|
||||||
$search = null;
|
|
||||||
|
|
||||||
foreach ($search_types as $search)
|
foreach ($search_types as $search)
|
||||||
{
|
{
|
||||||
$type = get_class($search);
|
$type = get_class($search);
|
||||||
|
|
||||||
$name = $search->get_name();
|
$name = $search->get_name();
|
||||||
|
|
||||||
$data = array();
|
|
||||||
if (method_exists($search, 'index_stats'))
|
|
||||||
{
|
|
||||||
$data = $search->index_stats();
|
$data = $search->index_stats();
|
||||||
}
|
|
||||||
|
|
||||||
$statistics = array();
|
$statistics = array();
|
||||||
foreach ($data as $statistic => $value)
|
foreach ($data as $statistic => $value)
|
||||||
|
|
Loading…
Add table
Reference in a new issue