Fix the databae update

Esse commit está contido em:
Michael 2020-11-20 07:10:43 +00:00
commit 3f3e5245df
1 arquivos alterados com 0 adições e 4 exclusões

Ver arquivo

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