1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-06 15:45:34 +02:00

[ticket/15540] Change method name with the new one

PHPBB3-15540
This commit is contained in:
rubencm 2021-03-24 23:29:29 +01:00
parent 6ae68baa2e
commit 5ce6345fa7

View File

@ -85,16 +85,13 @@ class acp_search
if ($search->is_available())
{
$name = $search->get_name();
$type = get_class($search);
$selected = ($config['search_type'] == $type) ? ' selected="selected"' : '';
$identifier = substr($type, strrpos($type, '\\') + 1);
$search_options .= "<option value=\"$type\"$selected data-toggle-setting=\"#search_{$identifier}_settings\">$name</option>";
if (method_exists($search, 'acp'))
{
$vars = $search->acp();
$vars = $search->get_acp_options();
if (!$submit)
{
@ -110,7 +107,6 @@ class acp_search
}
}
}
}
unset($search);
$cfg_array = (isset($_REQUEST['config'])) ? $request->variable('config', array('' => ''), true) : array();