mirror of
https://github.com/friendica/friendica
synced 2025-04-25 01:10:12 +00:00
Simplify event storing
This commit is contained in:
parent
536fbe5af1
commit
8e074a5fe4
4 changed files with 30 additions and 6 deletions
|
@ -631,7 +631,7 @@ class Processor
|
|||
if (($item['gravity'] != GRAVITY_ACTIVITY) && ($activity['object_type'] == 'as:Event')) {
|
||||
$event_id = self::createEvent($activity, $item);
|
||||
|
||||
$item = Event::getItemArrayForId($event_id, $item);
|
||||
$item = Event::getItemArrayForImportedId($event_id, $item);
|
||||
}
|
||||
|
||||
$item_id = Item::insert($item);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue