mirror of
https://github.com/friendica/friendica
synced 2024-11-19 01:03:40 +00:00
Added comment
This commit is contained in:
parent
3e51309525
commit
69d7391f90
1 changed files with 1 additions and 0 deletions
|
@ -1433,6 +1433,7 @@ class Item
|
|||
if (!empty($post['event-id'])) {
|
||||
$event = DBA::selectFirst('event', ['edited', 'start', 'finish', 'summary', 'desc', 'location', 'nofinish', 'adjust'], ['id' => $item['event-id']]);
|
||||
if (!empty($event)) {
|
||||
// We aren't using "Event::store" here, since we don't want to trigger any further action
|
||||
$ret = DBA::update('event', $event, ['id' => $post['event-id']]);
|
||||
Logger::info('Event updated', ['uid' => $uid, 'source-event' => $item['event-id'], 'target-event' => $post['event-id'], 'ret' => $ret]);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue