mirror of
https://github.com/friendica/friendica
synced 2025-04-22 07:50:11 +00:00
Replace deprecated $a->page with DI::page()
This commit is contained in:
parent
6c2d13403e
commit
6d7362da41
48 changed files with 197 additions and 198 deletions
|
@ -75,7 +75,6 @@ class Login extends BaseModule
|
|||
*/
|
||||
public static function form($return_path = null, $register = false, $hiddens = [])
|
||||
{
|
||||
$a = DI::app();
|
||||
$o = '';
|
||||
|
||||
$noid = Config::get('system', 'no_openid');
|
||||
|
@ -101,7 +100,7 @@ class Login extends BaseModule
|
|||
if (local_user()) {
|
||||
$tpl = Renderer::getMarkupTemplate('logout.tpl');
|
||||
} else {
|
||||
$a->page['htmlhead'] .= Renderer::replaceMacros(
|
||||
DI::page()['htmlhead'] .= Renderer::replaceMacros(
|
||||
Renderer::getMarkupTemplate('login_head.tpl'),
|
||||
[
|
||||
'$baseurl' => DI::baseUrl()->get(true)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue