mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-10 10:28:50 +00:00
[various] Remove redundant uninstall functions
- All hooks (current and obsolete) are removed automatically during addon uninstall
This commit is contained in:
parent
aa25a9d762
commit
203672cf27
77 changed files with 229 additions and 887 deletions
|
@ -16,11 +16,6 @@ function sniper_install() {
|
|||
Hook::register('app_menu', 'addon/sniper/sniper.php', 'sniper_app_menu');
|
||||
}
|
||||
|
||||
function sniper_uninstall() {
|
||||
Hook::unregister('app_menu', 'addon/sniper/sniper.php', 'sniper_app_menu');
|
||||
|
||||
}
|
||||
|
||||
function sniper_app_menu($a,&$b) {
|
||||
$b['app_menu'][] = '<div class="app-title"><a href="sniper">Hot Shot Sniper</a></div>';
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue