Skip to content

Commit

Permalink
Merge pull request #4 from rapidwebltd/analysis-zDmPbl
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
DivineOmega authored Feb 2, 2018
2 parents 9ff2b64 + e018eba commit 3be5d23
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/Objects/Destinations/PDODestination.php
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,6 @@ public function putDataRows(array $dataRows)
$keyDataItems = $dataRow->getKeyDataItems();

try {

if (!$keyDataItems) {
$this->insertDataRow($dataRow);
continue;
Expand All @@ -139,7 +138,6 @@ public function putDataRows(array $dataRows)
} else {
$this->insertDataRow($dataRow);
}

} catch (PDOException $e) {
if ($this->ignoreIntegrityConstraintViolations && $e->getCode() == 23000) {
continue;
Expand All @@ -148,6 +146,5 @@ public function putDataRows(array $dataRows)
throw $e;
}
}

}
}

0 comments on commit 3be5d23

Please sign in to comment.