Use the new dbstructure update function
This commit is contained in:
parent
342cc2c044
commit
3715293ca5
|
@ -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");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user