mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-06-16 20:35:15 +02: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
|
@ -65,13 +65,6 @@ function advancedcontentfilter_install(App $a)
|
|||
Logger::log("installed advancedcontentfilter");
|
||||
}
|
||||
|
||||
function advancedcontentfilter_uninstall()
|
||||
{
|
||||
Hook::unregister('dbstructure_definition' , __FILE__, 'advancedcontentfilter_dbstructure_definition');
|
||||
Hook::unregister('prepare_body_content_filter', __FILE__, 'advancedcontentfilter_prepare_body_content_filter');
|
||||
Hook::unregister('addon_settings' , __FILE__, 'advancedcontentfilter_addon_settings');
|
||||
}
|
||||
|
||||
/*
|
||||
* Hooks
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue