X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=update.php;h=82b184c9f4c1dc791fe759329632482bfaa37cb3;hb=a61f61a05132a0d6233004852086486373c649f2;hp=107368ea0fa4bcea472a6392f55ed63d155cb183;hpb=8e421f089341882928279118cb07aa1eae11f951;p=friendica.git diff --git a/update.php b/update.php index 107368ea0f..82b184c9f4 100644 --- a/update.php +++ b/update.php @@ -92,10 +92,7 @@ function update_1191() DI::config()->set('system', 'maintenance', 1); if (Addon::isEnabled('forumlist')) { - //delete forumlist manually from addon and hook table - // since Addon::uninstall() don't work here - DBA::delete('addon', ['name' => 'forumlist']); - DBA::delete('hook', ['file' => 'addon/forumlist/forumlist.php']); + Addon::uninstall('forumlist'); } // select old formlist addon entries