Completed
Push — 2.0 ( 2ec1a2...63e9fb )
by Raphaël
04:24
created
src/ZohoDatabasePusher.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -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.