From: Michael Date: Sat, 30 Jan 2021 13:32:43 +0000 (+0000) Subject: Use the new dbstructure update function X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3715293ca50b7e0783010075915ec859332280af;p=friendica-addons.git Use the new dbstructure update function --- diff --git a/advancedcontentfilter/advancedcontentfilter.php b/advancedcontentfilter/advancedcontentfilter.php index ede37c0d..145887cc 100644 --- a/advancedcontentfilter/advancedcontentfilter.php +++ b/advancedcontentfilter/advancedcontentfilter.php @@ -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"); }