X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mastodoncustomemojis%2Fmastodoncustomemojis.php;h=a6c95d340a42a7a049575674f7a37a6d1954a0e4;hb=81dc1e5eb1bc4a42fa485cb668b200a63fb1feaa;hp=c7e9df6031e6206d7671184479dca9692e697157;hpb=36120615dd049c94b9db7858aae77d8ec9d28e84;p=friendica-addons.git diff --git a/mastodoncustomemojis/mastodoncustomemojis.php b/mastodoncustomemojis/mastodoncustomemojis.php index c7e9df60..a6c95d34 100644 --- a/mastodoncustomemojis/mastodoncustomemojis.php +++ b/mastodoncustomemojis/mastodoncustomemojis.php @@ -11,10 +11,10 @@ use Friendica\App; use Friendica\Content\Smilies; -use Friendica\Core\Cache; -use Friendica\Core\Config; +use Friendica\Core\Cache\Duration; use Friendica\Core\Hook; use Friendica\Core\Protocol; +use Friendica\DI; use Friendica\Util\Network; use Friendica\Util\Proxy as ProxyUtils; @@ -40,7 +40,7 @@ function mastodoncustomemojis_uninstall() function mastodoncustomemojis_css_hook(App $a) { - $a->page['htmlhead'] .= <<