*/ use Friendica\Core\Addon; function sniper_install() { Addon::registerHook('app_menu', 'addon/sniper/sniper.php', 'sniper_app_menu'); } function sniper_uninstall() { Addon::unregisterHook('app_menu', 'addon/sniper/sniper.php', 'sniper_app_menu'); } function sniper_app_menu($a,&$b) { $b['app_menu'][] = '
'; } function sniper_module() {} function sniper_content(&$a) { $baseurl = $a->get_baseurl() . '/addon/sniper'; $o .= <<< EOT EOT; return $o; }