[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,13 +17,6 @@ function irc_install() {
|
|||
Hook::register('addon_settings_post', 'addon/irc/irc.php', 'irc_addon_settings_post');
|
||||
}
|
||||
|
||||
function irc_uninstall() {
|
||||
Hook::unregister('app_menu', 'addon/irc/irc.php', 'irc_app_menu');
|
||||
Hook::unregister('addon_settings', 'addon/irc/irc.php', 'irc_addon_settings');
|
||||
|
||||
}
|
||||
|
||||
|
||||
function irc_addon_settings(&$a,&$s) {
|
||||
if(! local_user())
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue