|
@@ -117,8 +117,8 @@ |
|
|
block discarded – undo |
|
117
|
117
|
if (!$update) { |
|
118
|
118
|
foreach ($zohoBeans as $uid => $zohoBean) { |
|
119
|
119
|
// $this->connection->beginTransaction(); |
|
120
|
|
- $this->connection->update($tableName, ['id' => $zohoBean->getZohoId()], ['table_name'=>$tableName,'uid' => $uid]); |
|
121
|
|
- $this->connection->delete($localTable, ['table_name'=>$tableName, 'uid' => $uid ]); |
|
|
120
|
+ $this->connection->update($tableName, ['id' => $zohoBean->getZohoId()], ['table_name'=>$tableName, 'uid' => $uid]); |
|
|
121
|
+ $this->connection->delete($localTable, ['table_name'=>$tableName, 'uid' => $uid]); |
|
122
|
122
|
// $this->connection->commit(); |
|
123
|
123
|
} |
|
124
|
124
|
} else { |
Please login to merge, or discard this patch.