Use the new dbstructure update function

This commit is contained in:
Michael 2021-01-30 13:32:43 +00:00
parent 342cc2c044
commit 3715293ca5

View File

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