Reduce the parameter chaos by splitting the update function

This commit is contained in:
Michael 2021-01-30 13:31:59 +00:00
parent 90f1175cf5
commit 8eb3bddc2a
6 changed files with 60 additions and 18 deletions

View file

@ -82,7 +82,7 @@ class Summary extends BaseAdmin
}
if (DI::config()->get('system', 'dbupdate', DBStructure::UPDATE_NOT_CHECKED) == DBStructure::UPDATE_NOT_CHECKED) {
DBStructure::update($a->getBasePath(), false, true);
DBStructure::performUpdate();
}
if (DI::config()->get('system', 'dbupdate') == DBStructure::UPDATE_FAILED) {