mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-07 01:06:48 +02:00
[feature/passwords] Use dependency injection for passwords driver helper
The passwords driver helper is now injected into the driver base instead of being manually loaded. PHPBB3-11610
This commit is contained in:
@@ -34,10 +34,10 @@ abstract class phpbb_passwords_driver_base implements phpbb_passwords_driver_int
|
||||
*
|
||||
* @return string Hash prefix
|
||||
*/
|
||||
public function __construct(phpbb_config $config)
|
||||
public function __construct(phpbb_config $config, phpbb_passwords_driver_helper $helper)
|
||||
{
|
||||
$this->config = $config;
|
||||
$this->helper = new phpbb_passwords_driver_helper($this);
|
||||
$this->helper = $helper;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user