- Addon::unregisterHook('put_item_in_cache', __FILE__, 'mastodoncustomemojis_put_item_in_cache');
- Addon::unregisterHook('network_mod_init', __FILE__, 'mastodoncustomemojis_css_hook');
- Addon::unregisterHook('display_mod_init', __FILE__, 'mastodoncustomemojis_css_hook');
- Addon::unregisterHook('search_mod_init', __FILE__, 'mastodoncustomemojis_css_hook');
- Addon::unregisterHook('community_mod_init', __FILE__, 'mastodoncustomemojis_css_hook');
- Addon::unregisterHook('contacts_mod_init', __FILE__, 'mastodoncustomemojis_css_hook');
-}
-
-function mastodoncustomemojis_css_hook(Friendica\App $a)
-{
- $a->page['htmlhead'] .= <<<HTML