mirror of
https://github.com/friendica/friendica
synced 2025-04-25 03:10:11 +00:00
Fix slow queries
This commit is contained in:
parent
0277c55c43
commit
5f48d6497e
6 changed files with 47 additions and 17 deletions
|
@ -970,6 +970,10 @@ class Item
|
|||
unset($item['event-id']);
|
||||
}
|
||||
|
||||
if (empty($item['causer-id'])) {
|
||||
unset($item['causer-id']);
|
||||
}
|
||||
|
||||
Post::insert($item['uri-id'], $item);
|
||||
|
||||
if ($item['gravity'] == GRAVITY_PARENT) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue