mirror of
https://github.com/friendica/friendica
synced 2025-04-25 09:50:11 +00:00
Mode switch for insert
This commit is contained in:
parent
fa5acb3b21
commit
303aaa00ca
15 changed files with 56 additions and 31 deletions
|
@ -736,7 +736,7 @@ class PostUpdate
|
|||
while ($delivery = DBA::fetch($deliveries)) {
|
||||
$id = $delivery['iid'];
|
||||
unset($delivery['iid']);
|
||||
DBA::insert('post-delivery-data', $delivery, true);
|
||||
DBA::insert('post-delivery-data', $delivery, Database::INSERT_UPDATE);
|
||||
++$rows;
|
||||
}
|
||||
DBA::close($deliveries);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue