File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change 56
56
57
57
function advancedcontentfilter_install (App $ a )
58
58
{
59
- Hook::register ('dbstructure_definition ' , __FILE__ , 'advancedcontentfilter_dbstructure_definition ' );
59
+ Hook::add ('dbstructure_definition ' , __FILE__ , 'advancedcontentfilter_dbstructure_definition ' );
60
60
Hook::register ('prepare_body_content_filter ' , __FILE__ , 'advancedcontentfilter_prepare_body_content_filter ' );
61
61
Hook::register ('addon_settings ' , __FILE__ , 'advancedcontentfilter_addon_settings ' );
62
62
@@ -67,7 +67,6 @@ function advancedcontentfilter_install(App $a)
67
67
68
68
function advancedcontentfilter_uninstall ()
69
69
{
70
- Hook::unregister ('dbstructure_definition ' , __FILE__ , 'advancedcontentfilter_dbstructure_definition ' );
71
70
Hook::unregister ('prepare_body_content_filter ' , __FILE__ , 'advancedcontentfilter_prepare_body_content_filter ' );
72
71
Hook::unregister ('addon_settings ' , __FILE__ , 'advancedcontentfilter_addon_settings ' );
73
72
}
You can’t perform that action at this time.
0 commit comments