]> git.mxchange.org Git - friendica.git/commitdiff
Fix the databae update
authorMichael <heluecht@pirati.ca>
Fri, 20 Nov 2020 07:10:43 +0000 (07:10 +0000)
committerMichael <heluecht@pirati.ca>
Fri, 20 Nov 2020 07:10:43 +0000 (07:10 +0000)
update.php

index c3c83b937b9116609e20dbb16761760fff3a5e00..52b2494b211aab4b4c5bc81b843dc08dd9c36f55 100644 (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;
        }