forked from friendica/friendica-addons
[startpage] Remove deprecated call to strlen
- Address part of https://github.com/friendica/friendica/issues/12011#issuecomment-1321796513
This commit is contained in:
parent
c18e0dc66a
commit
f0baf18339
|
@ -25,10 +25,9 @@ function startpage_home_init(App $a, $b)
|
||||||
}
|
}
|
||||||
|
|
||||||
$page = DI::pConfig()->get(DI::userSession()->getLocalUserId(), 'startpage', 'startpage');
|
$page = DI::pConfig()->get(DI::userSession()->getLocalUserId(), 'startpage', 'startpage');
|
||||||
if (strlen($page)) {
|
if ($page) {
|
||||||
DI::baseUrl()->redirect($page);
|
DI::baseUrl()->redirect($page);
|
||||||
}
|
}
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue