|
@@ -283,12 +283,12 @@ |
|
|
block discarded – undo |
|
283
|
283
|
} |
|
284
|
284
|
|
|
285
|
285
|
foreach ($deletedRecordIds as $id) { |
|
286
|
|
- $this->connection->delete($tableName, [ 'id' => $id ]); |
|
|
286
|
+ $this->connection->delete($tableName, ['id' => $id]); |
|
287
|
287
|
if ($twoWaysSync) { |
|
288
|
288
|
// TODO: we could detect if there are changes to be updated to the server and try to warn with a log message |
|
289
|
289
|
// Also, let's remove the newly created field (because of the trigger) to avoid looping back to Zoho |
|
290
|
|
- $this->connection->delete('local_delete', [ 'table_name' => $tableName, 'id' => $id ]); |
|
291
|
|
- $this->connection->delete('local_update', [ 'table_name' => $tableName, 'id' => $id ]); |
|
|
290
|
+ $this->connection->delete('local_delete', ['table_name' => $tableName, 'id' => $id]); |
|
|
291
|
+ $this->connection->delete('local_update', ['table_name' => $tableName, 'id' => $id]); |
|
292
|
292
|
} |
|
293
|
293
|
} |
|
294
|
294
|
|
Please login to merge, or discard this patch.