https://reisub.nsupdate.info/git
/
friendica.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
127c48a
)
Merge pull request #9557 from annando/fix-update
author
Tobias Diekershoff
<tobias.diekershoff@gmx.net>
Fri, 20 Nov 2020 07:26:37 +0000
(08:26 +0100)
committer
GitHub
<noreply@github.com>
Fri, 20 Nov 2020 07:26:37 +0000
(08:26 +0100)
Fix the databae update
update.php
patch
|
blob
|
history
diff --git
a/update.php
b/update.php
index
c3c83b9
..
52b2494
100644
(file)
--- 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;
}