[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
|
@ -22,19 +22,6 @@ function gnot_install() {
|
|||
Logger::log("installed gnot");
|
||||
}
|
||||
|
||||
|
||||
function gnot_uninstall() {
|
||||
|
||||
Hook::unregister('addon_settings', 'addon/gnot/gnot.php', 'gnot_settings');
|
||||
Hook::unregister('addon_settings_post', 'addon/gnot/gnot.php', 'gnot_settings_post');
|
||||
Hook::unregister('enotify_mail', 'addon/gnot/gnot.php', 'gnot_enotify_mail');
|
||||
|
||||
|
||||
Logger::log("removed gnot");
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* Callback from the settings post function.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue