dbupdate now moved as well
This commit is contained in:
parent
659748d27c
commit
13f899542d
6 changed files with 28 additions and 14 deletions
2
boot.php
2
boot.php
|
|
@ -630,7 +630,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) {
|
||||
if (!Worker::add(PRIORITY_CRITICAL, 'DBUpdate') && $via_worker) {
|
||||
update_db(get_app());
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue