[various] Remove redundant uninstall functions
- All hooks (current and obsolete) are removed automatically during addon uninstall
This commit is contained in:
@@ -22,11 +22,6 @@ function blockbot_install() {
|
||||
Hook::register('init_1', __FILE__, 'blockbot_init_1');
|
||||
}
|
||||
|
||||
|
||||
function blockbot_uninstall() {
|
||||
Hook::unregister('init_1', __FILE__, 'blockbot_init_1');
|
||||
}
|
||||
|
||||
function blockbot_addon_admin(&$a, &$o) {
|
||||
$t = Renderer::getMarkupTemplate("admin.tpl", "addon/blockbot/");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user