mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-13 03:48:49 +00:00
[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
|
@ -23,13 +23,6 @@ function impressum_install() {
|
|||
Logger::log("installed impressum Addon");
|
||||
}
|
||||
|
||||
function impressum_uninstall() {
|
||||
Hook::unregister('load_config', 'addon/impressum/impressum.php', 'impressum_load_config');
|
||||
Hook::unregister('about_hook', 'addon/impressum/impressum.php', 'impressum_show');
|
||||
Hook::unregister('page_end', 'addon/impressum/impressum.php', 'impressum_footer');
|
||||
Logger::log("uninstalled impressum Addon");
|
||||
}
|
||||
|
||||
function impressum_module() {
|
||||
}
|
||||
function impressum_content() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue