mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-22 00:05:49 +02:00
[ticket/12508] Move \phpbb\extension\finder to \phpbb\finder
PHPBB3-12508
This commit is contained in:
@@ -532,14 +532,14 @@ class manager
|
||||
}
|
||||
|
||||
/**
|
||||
* Instantiates a \phpbb\extension\finder.
|
||||
* Instantiates a \phpbb\finder.
|
||||
*
|
||||
* @param bool $use_all_available Should we load all extensions, or just enabled ones
|
||||
* @return \phpbb\extension\finder An extension finder instance
|
||||
* @return \phpbb\finder An extension finder instance
|
||||
*/
|
||||
public function get_finder($use_all_available = false)
|
||||
{
|
||||
$finder = new \phpbb\extension\finder($this->filesystem, $this->phpbb_root_path, $this->cache, $this->php_ext, $this->cache_name . '_finder');
|
||||
$finder = new \phpbb\finder($this->filesystem, $this->phpbb_root_path, $this->cache, $this->php_ext, $this->cache_name . '_finder');
|
||||
if ($use_all_available)
|
||||
{
|
||||
$finder->set_extensions($this->all_available());
|
||||
|
Reference in New Issue
Block a user