Fix slow queries

This commit is contained in:
Michael 2021-03-01 22:19:47 +00:00
parent 0277c55c43
commit 5f48d6497e
6 changed files with 47 additions and 17 deletions

View file

@ -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) {