1
1
Fork 0

Merge pull request #11976 from annando/issue-11975

Issue 11975: Don't call the postupdate if the table is missing
This commit is contained in:
Hypolite Petovan 2022-10-08 10:48:57 -04:00 committed by GitHub
commit a36ea64bb4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1040,6 +1040,11 @@ class PostUpdate
return true;
}
if (!DBStructure::existsTable('conversation')) {
DI::config()->set('system', 'post_update_version', 1452);
return true;
}
$id = DI::config()->get('system', 'post_update_version_1452_id', 0);
Logger::info('Start', ['uri-id' => $id]);