mirror of
https://github.com/friendica/friendica
synced 2025-04-24 07:50:11 +00:00
New table "post-thread-user"
This commit is contained in:
parent
998f127cb8
commit
15162b4027
6 changed files with 170 additions and 17 deletions
|
@ -1099,6 +1099,10 @@ class Item
|
|||
|
||||
$id = Post\User::insert($item['uri-id'], $item['uid'], $item);
|
||||
if ($id) {
|
||||
if ($item['gravity'] == GRAVITY_PARENT) {
|
||||
Post\ThreadUser::insert($item['uri-id'], $item['uid'], $item);
|
||||
}
|
||||
|
||||
// Remove all fields that aren't part of the item table
|
||||
foreach ($item as $field => $value) {
|
||||
if (!in_array($field, $structure['item'])) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue