mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-02 23:07:39 +02:00
[ticket/16737] Remove dead code
PHPBB3-16737
This commit is contained in:
@@ -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 = $search->index_stats();
|
||||||
$data = array();
|
|
||||||
if (method_exists($search, 'index_stats'))
|
|
||||||
{
|
|
||||||
$data = $search->index_stats();
|
|
||||||
}
|
|
||||||
|
|
||||||
$statistics = array();
|
$statistics = array();
|
||||||
foreach ($data as $statistic => $value)
|
foreach ($data as $statistic => $value)
|
||||||
|
Reference in New Issue
Block a user