mirror of
https://github.com/friendica/friendica
synced 2024-12-22 18:40:17 +00:00
Use the uninstall function
This commit is contained in:
parent
d4480ae4be
commit
a0f0558fec
1 changed files with 1 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue