mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-06-07 09:54:27 +02:00
Replace deprecated $a->page with DI::page()
This commit is contained in:
parent
07269ebb69
commit
2ca621a92a
16 changed files with 33 additions and 31 deletions
|
@ -15,6 +15,7 @@ use Friendica\Core\Cache;
|
|||
use Friendica\Core\Config;
|
||||
use Friendica\Core\Hook;
|
||||
use Friendica\Core\Protocol;
|
||||
use Friendica\DI;
|
||||
use Friendica\Util\Network;
|
||||
use Friendica\Util\Proxy as ProxyUtils;
|
||||
|
||||
|
@ -40,7 +41,7 @@ function mastodoncustomemojis_uninstall()
|
|||
|
||||
function mastodoncustomemojis_css_hook(App $a)
|
||||
{
|
||||
$a->page['htmlhead'] .= <<<HTML
|
||||
DI::page()['htmlhead'] .= <<<HTML
|
||||
<!-- Style added by mastodoncustomemojis -->
|
||||
<style type="text/css">
|
||||
.emoji.mastodon {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue