forked from friendica/friendica-addons
Merge pull request #1073 from annando/dbstructure
Use the new dbstructure update function
This commit is contained in:
commit
749dac6e38
|
@ -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 a new issue