mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-04 13:35:13 +02:00
[feature/extension-manager] Removing now unused acp_search code
PHPBB3-10323
This commit is contained in:
parent
addf81f62e
commit
5f48f55cca
@ -563,28 +563,6 @@ class acp_search
|
||||
->extension_directory('/search')
|
||||
->core_path('includes/search/')
|
||||
->get_classes();
|
||||
|
||||
/*
|
||||
$search_types = array();
|
||||
|
||||
$dp = @opendir($phpbb_root_path . 'includes/search');
|
||||
|
||||
if ($dp)
|
||||
{
|
||||
while (($file = readdir($dp)) !== false)
|
||||
{
|
||||
if ((preg_match('#\.' . $phpEx . '$#', $file)) && ($file != "search.$phpEx"))
|
||||
{
|
||||
$search_types[] = preg_replace('#^(.*?)\.' . $phpEx . '$#', '\1', $file);
|
||||
}
|
||||
}
|
||||
closedir($dp);
|
||||
|
||||
sort($search_types);
|
||||
}
|
||||
|
||||
return $search_types;
|
||||
*/
|
||||
}
|
||||
|
||||
function get_max_post_id()
|
||||
|
Loading…
x
Reference in New Issue
Block a user