mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-06-07 09:54:27 +02: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
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue