Merge pull request #9557 from annando/fix-update

Fix the databae update
This commit is contained in:
Tobias Diekershoff 2020-11-20 08:26:37 +01:00 committed by GitHub
commit 752a377269
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 4 deletions

View File

@ -802,10 +802,6 @@ function pre_update_1377()
{
DBStructure::checkInitialValues();
if (!DBA::e("DELETE FROM `item` WHERE NOT `parent` IN (SELECT `id` FROM `item`)")) {
return Update::FAILED;
}
if (!DBA::e("DELETE FROM `item` WHERE NOT `author-id` IN (SELECT `id` FROM `contact`)")) {
return Update::FAILED;
}