]> git.mxchange.org Git - friendica.git/commitdiff
Added comment
authorMichael <heluecht@pirati.ca>
Sat, 5 Feb 2022 16:49:21 +0000 (16:49 +0000)
committerMichael <heluecht@pirati.ca>
Sat, 5 Feb 2022 16:49:21 +0000 (16:49 +0000)
src/Model/Item.php

index 217e77fd53fa097f08cd763556059fe40e00c447..bf1f2585a1511392116f6c10a2a41d7c4450d8d1 100644 (file)
@@ -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]);
                                        }