[various] Remove redundant uninstall functions
- All hooks (current and obsolete) are removed automatically during addon uninstall
This commit is contained in:
@@ -27,12 +27,6 @@ function qcomment_install() {
|
||||
|
||||
}
|
||||
|
||||
function qcomment_uninstall() {
|
||||
Hook::unregister('addon_settings', 'addon/qcomment/qcomment.php', 'qcomment_addon_settings');
|
||||
Hook::unregister('addon_settings_post', 'addon/qcomment/qcomment.php', 'qcomment_addon_settings_post');
|
||||
|
||||
}
|
||||
|
||||
function qcomment_addon_settings(&$a, &$s)
|
||||
{
|
||||
if (! local_user()) {
|
||||
|
||||
Reference in New Issue
Block a user