[ticket/12886] Remove obsolete check for f_user_lock

The user shouldn't be able to unlock his own topic if he doesn't have m_lock
permissions. Also, the check for f_user_lock was never going to evaluate to
true due to the topic not being unlocked making it obsolete anyway.

PHPBB3-12886
[ticket/12738] Pass $this->config in content_visibility constructor

PHPBB3-12738
Merge pull request #2838 from dhruvgoel92/ticket/12738

[ticket/12738] Pass $this->config in content_visibility constructor

* dhruvgoel92/ticket/12738:
  [ticket/12738] Pass $this->config in content_visibility constructor
Merge branch 'develop-ascraeus' into develop

* develop-ascraeus:
  [ticket/12738] Pass $this->config in content_visibility constructor
Merge pull request #2822 from marc1706/ticket/12886

[ticket/12886] Remove obsolete check for f_user_lock

* marc1706/ticket/12886:
  [ticket/12886] Remove obsolete check for f_user_lock
Merge branch 'develop-ascraeus' into develop

* develop-ascraeus:
  [ticket/12886] Remove obsolete check for f_user_lock