[various] Remove redundant uninstall functions

- All hooks (current and obsolete) are removed automatically during addon uninstall
This commit is contained in:
Hypolite Petovan 2020-07-27 08:30:41 -04:00
parent aa25a9d762
commit 203672cf27
77 changed files with 229 additions and 887 deletions

View file

@ -24,15 +24,6 @@ function ljpost_install() {
Hook::register('connector_settings_post', 'addon/ljpost/ljpost.php', 'ljpost_settings_post');
}
function ljpost_uninstall() {
Hook::unregister('post_local', 'addon/ljpost/ljpost.php', 'ljpost_post_local');
Hook::unregister('notifier_normal', 'addon/ljpost/ljpost.php', 'ljpost_send');
Hook::unregister('jot_networks', 'addon/ljpost/ljpost.php', 'ljpost_jot_nets');
Hook::unregister('connector_settings', 'addon/ljpost/ljpost.php', 'ljpost_settings');
Hook::unregister('connector_settings_post', 'addon/ljpost/ljpost.php', 'ljpost_settings_post');
}
function ljpost_jot_nets(\Friendica\App &$a, array &$jotnets_fields)
{