Merge pull request #922 from nupplaphil/bug/7989-advancedcontfilter

[advancedcontentfilter] Fix Hook-call during install
This commit is contained in:
Hypolite Petovan 2019-12-22 19:38:00 -05:00 committed by GitHub
commit 98e9cc7dc2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -60,6 +60,7 @@ function advancedcontentfilter_install(App $a)
Hook::register('prepare_body_content_filter', __FILE__, 'advancedcontentfilter_prepare_body_content_filter'); Hook::register('prepare_body_content_filter', __FILE__, 'advancedcontentfilter_prepare_body_content_filter');
Hook::register('addon_settings' , __FILE__, 'advancedcontentfilter_addon_settings'); Hook::register('addon_settings' , __FILE__, 'advancedcontentfilter_addon_settings');
Hook::add('dbstructure_definition' , __FILE__, 'advancedcontentfilter_dbstructure_definition');
DBStructure::update($a->getBasePath(), false, true); DBStructure::update($a->getBasePath(), false, true);
Logger::log("installed advancedcontentfilter"); Logger::log("installed advancedcontentfilter");