mirror of
https://github.com/friendica/friendica
synced 2024-11-09 16:22:56 +00:00
Fix the databae update
This commit is contained in:
parent
127c48a3f4
commit
3f3e5245df
1 changed files with 0 additions and 4 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue