mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-11 10:58:48 +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
|
@ -17,16 +17,6 @@ function numfriends_install() {
|
|||
Logger::log("installed numfriends");
|
||||
}
|
||||
|
||||
|
||||
function numfriends_uninstall() {
|
||||
|
||||
Hook::unregister('addon_settings', 'addon/numfriends/numfriends.php', 'numfriends_settings');
|
||||
Hook::unregister('addon_settings_post', 'addon/numfriends/numfriends.php', 'numfriends_settings_post');
|
||||
|
||||
|
||||
Logger::log("removed numfriends");
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* Callback from the settings post function.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue