mirror of
https://github.com/phpbb/phpbb.git
synced 2025-02-24 12:03:21 +01:00
[feature/passwords] Pass phpbb_container to passwords helper
PHPBB3-11610
This commit is contained in:
parent
e4a5aacf2a
commit
ab068799b1
@ -25,14 +25,21 @@ class phpbb_crypto_helper
|
||||
*/
|
||||
protected $manager;
|
||||
|
||||
/**
|
||||
* @var phpbb_container
|
||||
*/
|
||||
protected $container;
|
||||
|
||||
/**
|
||||
* Construct a phpbb_crypto_helper object
|
||||
*
|
||||
* @param phpbb_crypto_manager $manager Crypto manager object
|
||||
* @param phpbb_container $container phpBB container object
|
||||
*/
|
||||
public function __construct($manager)
|
||||
public function __construct($manager, $container)
|
||||
{
|
||||
$this->manager = $manager;
|
||||
$this->container = $container;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -96,7 +96,7 @@ class phpbb_crypto_manager
|
||||
{
|
||||
if ($this->helper === NULL)
|
||||
{
|
||||
$this->helper = new phpbb_crypto_helper($this);
|
||||
$this->helper = new phpbb_crypto_helper($this, $this->container);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user