Fix unused code in include (second pass)
This commit is contained in:
parent
3b23f89ca2
commit
35a18f6825
7 changed files with 18 additions and 34 deletions
2
boot.php
2
boot.php
|
|
@ -676,7 +676,7 @@ function check_db($via_worker)
|
|||
if ($build != DB_UPDATE_VERSION) {
|
||||
// When we cannot execute the database update via the worker, we will do it directly
|
||||
if (!Worker::add(PRIORITY_CRITICAL, 'DBUpdate') && $via_worker) {
|
||||
update_db(get_app());
|
||||
update_db();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue