Merge pull request #1073 from annando/dbstructure

Use the new dbstructure update function
This commit is contained in:
Hypolite Petovan 2021-01-30 11:22:50 -05:00 committed by GitHub
commit 749dac6e38
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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