dbupdate now moved as well

This commit is contained in:
Michael 2017-11-18 07:31:33 +00:00
commit 13f899542d
6 changed files with 28 additions and 14 deletions

View file

@ -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());
}
}