From: Michael Date: Fri, 20 Nov 2020 07:10:43 +0000 (+0000) Subject: Fix the databae update X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3f3e5245dfb7193a3adf99507268535d7b380aed;p=friendica.git Fix the databae update --- diff --git a/update.php b/update.php index c3c83b937b..52b2494b21 100644 --- a/update.php +++ b/update.php @@ -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; }