[various] Remove redundant uninstall functions
- All hooks (current and obsolete) are removed automatically during addon uninstall
This commit is contained in:
@@ -16,12 +16,6 @@ function highlightjs_install()
|
||||
Hook::register('footer', __FILE__, 'highlightjs_footer');
|
||||
}
|
||||
|
||||
function highlightjs_uninstall()
|
||||
{
|
||||
Hook::unregister('head' , __FILE__, 'highlightjs_head');
|
||||
Hook::unregister('footer', __FILE__, 'highlightjs_footer');
|
||||
}
|
||||
|
||||
function highlightjs_head(App $a, &$b)
|
||||
{
|
||||
if ($a->getCurrentTheme() == 'frio') {
|
||||
|
||||
Reference in New Issue
Block a user