Remove superfluous strlen call in Module\Tos
- Address https://github.com/friendica/friendica/issues/12011#issuecomment-1342617099
This commit is contained in:
parent
607d26e906
commit
7aa5407bbd
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ class Tos extends BaseModule
|
||||||
*/
|
*/
|
||||||
protected function content(array $request = []): string
|
protected function content(array $request = []): string
|
||||||
{
|
{
|
||||||
if (strlen($this->config->get('system', 'singleuser'))) {
|
if ($this->config->get('system', 'singleuser')) {
|
||||||
$this->baseUrl->redirect('profile/' . $this->config->get('system', 'singleuser'));
|
$this->baseUrl->redirect('profile/' . $this->config->get('system', 'singleuser'));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue