mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-12-22 10:30:15 +00:00
Fix dbstructure update hook for advancedcontentfilter
This commit is contained in:
parent
30459ae6a3
commit
4f4b9f26c1
1 changed files with 1 additions and 2 deletions
|
@ -56,7 +56,7 @@ require_once __DIR__ . DIRECTORY_SEPARATOR . 'vendor' . DIRECTORY_SEPARATOR . 'a
|
|||
|
||||
function advancedcontentfilter_install(App $a)
|
||||
{
|
||||
Hook::register('dbstructure_definition' , __FILE__, 'advancedcontentfilter_dbstructure_definition');
|
||||
Hook::add('dbstructure_definition' , __FILE__, 'advancedcontentfilter_dbstructure_definition');
|
||||
Hook::register('prepare_body_content_filter', __FILE__, 'advancedcontentfilter_prepare_body_content_filter');
|
||||
Hook::register('addon_settings' , __FILE__, 'advancedcontentfilter_addon_settings');
|
||||
|
||||
|
@ -67,7 +67,6 @@ function advancedcontentfilter_install(App $a)
|
|||
|
||||
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');
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue