mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 05:50:42 +02:00
[feature/passwords] Get rid of unneeded code complexity
Simplified a little bit of code as pointed out by imkingdavid on github. PHPBB3-11610
This commit is contained in:
@@ -26,10 +26,7 @@ class helper
|
||||
*/
|
||||
public function set_manager(\phpbb\passwords\manager $manager)
|
||||
{
|
||||
if ($this->manager === null)
|
||||
{
|
||||
$this->manager = $manager;
|
||||
}
|
||||
$this->manager = $manager;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user