Replace deprecated $a->page with DI::page()

This commit is contained in:
nupplaPhil 2019-12-30 20:02:08 +01:00
parent 07269ebb69
commit 2ca621a92a
No known key found for this signature in database
GPG key ID: D8365C3D36B77D90
16 changed files with 33 additions and 31 deletions

View file

@ -239,7 +239,7 @@ function statusnet_settings(App $a, &$s)
if (!local_user()) {
return;
}
$a->page['htmlhead'] .= '<link rel="stylesheet" type="text/css" href="' . DI::baseUrl()->get() . '/addon/statusnet/statusnet.css' . '" media="all" />' . "\r\n";
DI::page()['htmlhead'] .= '<link rel="stylesheet" type="text/css" href="' . DI::baseUrl()->get() . '/addon/statusnet/statusnet.css' . '" media="all" />' . "\r\n";
/* * *
* 1) Check that we have a base api url and a consumer key & secret
* 2) If no OAuthtoken & stuff is present, generate button to get some