From 3f3e5245dfb7193a3adf99507268535d7b380aed Mon Sep 17 00:00:00 2001 From: Michael Date: Fri, 20 Nov 2020 07:10:43 +0000 Subject: [PATCH] Fix the databae update --- update.php | 4 ---- 1 file changed, 4 deletions(-) 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; }