aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/passwords/helper.php
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2013-12-29 16:33:09 +0100
committerMarc Alexander <admin@m-a-styles.de>2013-12-29 16:33:09 +0100
commit808c54fa89f556e6f4701d4f8c6c418393ddfc13 (patch)
tree928d41159e537f59751e9fd5e3a08945c7174cf9 /phpBB/phpbb/passwords/helper.php
parent555cd025b2d53e681dd02756f7de3ba0bf7df321 (diff)
downloadforums-808c54fa89f556e6f4701d4f8c6c418393ddfc13.tar
forums-808c54fa89f556e6f4701d4f8c6c418393ddfc13.tar.gz
forums-808c54fa89f556e6f4701d4f8c6c418393ddfc13.tar.bz2
forums-808c54fa89f556e6f4701d4f8c6c418393ddfc13.tar.xz
forums-808c54fa89f556e6f4701d4f8c6c418393ddfc13.zip
[feature/passwords] Get rid of unneeded code complexity
Simplified a little bit of code as pointed out by imkingdavid on github. PHPBB3-11610
Diffstat (limited to 'phpBB/phpbb/passwords/helper.php')
-rw-r--r--phpBB/phpbb/passwords/helper.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/phpBB/phpbb/passwords/helper.php b/phpBB/phpbb/passwords/helper.php
index 20c24c5ee0..59f0bd24ef 100644
--- a/phpBB/phpbb/passwords/helper.php
+++ b/phpBB/phpbb/passwords/helper.php
@@ -26,10 +26,7 @@ class helper
*/
public function set_manager(\phpbb\passwords\manager $manager)
{
- if ($this->manager === null)
- {
- $this->manager = $manager;
- }
+ $this->manager = $manager;
}
/**