mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-11 19:08:49 +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
|
@ -104,19 +104,6 @@ function jappixmini_install()
|
|||
}
|
||||
}
|
||||
|
||||
function jappixmini_uninstall()
|
||||
{
|
||||
Hook::unregister('addon_settings', 'addon/jappixmini/jappixmini.php', 'jappixmini_settings');
|
||||
Hook::unregister('addon_settings_post', 'addon/jappixmini/jappixmini.php', 'jappixmini_settings_post');
|
||||
|
||||
Hook::unregister('page_end', 'addon/jappixmini/jappixmini.php', 'jappixmini_script');
|
||||
Hook::unregister('authenticate', 'addon/jappixmini/jappixmini.php', 'jappixmini_login');
|
||||
|
||||
Hook::unregister('cron', 'addon/jappixmini/jappixmini.php', 'jappixmini_cron');
|
||||
|
||||
Hook::unregister('about_hook', 'addon/jappixmini/jappixmini.php', 'jappixmini_download_source');
|
||||
}
|
||||
|
||||
function jappixmini_addon_admin(App $a, &$o)
|
||||
{
|
||||
// display instructions and warnings on addon settings page for admin
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue