mirror of
https://github.com/friendica/friendica
synced 2025-05-09 16:24:12 +02:00
Post update script to move old content from the item table
This commit is contained in:
parent
32a639891f
commit
38160a48b0
4 changed files with 59 additions and 15 deletions
|
@ -1543,13 +1543,6 @@ class Diaspora
|
|||
|
||||
logger('Contacts are updated.');
|
||||
|
||||
// update items
|
||||
// This is an extreme performance killer
|
||||
Item::update(['owner-link' => $data["url"]], ['owner-link' => $contact["url"], 'uid' => $importer["uid"]]);
|
||||
Item::update(['author-link' => $data["url"]], ['author-link' => $contact["url"], 'uid' => $importer["uid"]]);
|
||||
|
||||
logger('Items are updated.');
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue