1
0
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:
Marc Alexander
2013-12-29 16:33:09 +01:00
parent 555cd025b2
commit 808c54fa89
4 changed files with 7 additions and 15 deletions

View File

@@ -26,10 +26,7 @@ class helper
*/
public function set_manager(\phpbb\passwords\manager $manager)
{
if ($this->manager === null)
{
$this->manager = $manager;
}
$this->manager = $manager;
}
/**